LLCommon.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:0k
源码类别:

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. include(APR)
  3. include(Boost)
  4. include(EXPAT)
  5. include(ZLIB)
  6. include(GooglePerfTools)
  7. set(LLCOMMON_INCLUDE_DIRS
  8.     ${LIBS_OPEN_DIR}/llcommon
  9.     ${APRUTIL_INCLUDE_DIR}
  10.     ${APR_INCLUDE_DIR}
  11.     ${Boost_INCLUDE_DIRS}
  12.     )
  13. set(LLCOMMON_LIBRARIES llcommon)
  14. add_definitions(${TCMALLOC_FLAG})
  15. set(LLCOMMON_LINK_SHARED ON CACHE BOOL "Build the llcommon target as a shared library.")
  16. if(LLCOMMON_LINK_SHARED)
  17.   add_definitions(-DLL_COMMON_LINK_SHARED=1)
  18. endif(LLCOMMON_LINK_SHARED)