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

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. project(login)
  3. include(00-Common)
  4. include(LLAddBuildTest)
  5. include(LLCommon)
  6. include(LLMath)
  7. include(LLXML)
  8. include(Pth)
  9. include_directories(
  10.     ${LLCOMMON_INCLUDE_DIRS}
  11.     ${LLMATH_INCLUDE_DIRS}
  12.     ${LLXML_INCLUDE_DIRS}
  13.     ${PTH_INCLUDE_DIRS}
  14.     )
  15. set(login_SOURCE_FILES
  16.     lllogin.cpp
  17.     )
  18. set(login_HEADER_FILES
  19.     lllogin.h
  20.     )
  21. set_source_files_properties(${login_HEADER_FILES}
  22.                             PROPERTIES HEADER_FILE_ONLY TRUE)
  23. list(APPEND 
  24.     login_SOURCE_FILES 
  25.     ${login_HEADER_FILES} 
  26.     )
  27. add_library(lllogin 
  28.             ${login_SOURCE_FILES}
  29.             )
  30. target_link_libraries(lllogin
  31.     ${LLCOMMON_LIBRARIES}
  32.     ${LLMATH_LIBRARIES}
  33.     ${LLXML_LIBRARIES}
  34.     ${PTH_LIBRARIES}
  35.     )
  36. SET(lllogin_TEST_SOURCE_FILES
  37.     lllogin.cpp
  38.     )
  39. set_source_files_properties(
  40.   lllogin.cpp
  41.   PROPERTIES
  42.     LL_TEST_ADDITIONAL_LIBRARIES "${PTH_LIBRARIES}"
  43.   )