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

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. project(llcharacter)
  3. include(00-Common)
  4. include(LLCommon)
  5. include(LLMath)
  6. include(LLMessage)
  7. include(LLVFS)
  8. include(LLXML)
  9. include_directories(
  10.     ${LLCOMMON_INCLUDE_DIRS}
  11.     ${LLMATH_INCLUDE_DIRS}
  12.     ${LLMESSAGE_INCLUDE_DIRS}
  13.     ${LLVFS_INCLUDE_DIRS}
  14.     ${LLXML_INCLUDE_DIRS}
  15.     )
  16. set(llcharacter_SOURCE_FILES
  17.     llanimationstates.cpp
  18.     llbvhloader.cpp
  19.     llcharacter.cpp
  20.     lleditingmotion.cpp
  21.     llgesture.cpp
  22.     llhandmotion.cpp
  23.     llheadrotmotion.cpp
  24.     lljoint.cpp
  25.     lljointsolverrp3.cpp
  26.     llkeyframefallmotion.cpp
  27.     llkeyframemotion.cpp
  28.     llkeyframemotionparam.cpp
  29.     llkeyframestandmotion.cpp
  30.     llkeyframewalkmotion.cpp
  31.     llmotioncontroller.cpp
  32.     llmotion.cpp
  33.     llmultigesture.cpp
  34.     llpose.cpp
  35.     llstatemachine.cpp
  36.     lltargetingmotion.cpp
  37.     llvisualparam.cpp
  38.     )
  39. set(llcharacter_HEADER_FILES
  40.     CMakeLists.txt
  41.     llanimationstates.h
  42.     llbvhloader.h
  43.     llbvhconsts.h
  44.     llcharacter.h
  45.     lleditingmotion.h
  46.     llgesture.h
  47.     llhandmotion.h
  48.     llheadrotmotion.h
  49.     lljoint.h
  50.     lljointsolverrp3.h
  51.     lljointstate.h
  52.     llkeyframefallmotion.h
  53.     llkeyframemotion.h
  54.     llkeyframemotionparam.h
  55.     llkeyframestandmotion.h
  56.     llkeyframewalkmotion.h
  57.     llmotion.h
  58.     llmotioncontroller.h
  59.     llmultigesture.h
  60.     llpose.h
  61.     llstatemachine.h
  62.     lltargetingmotion.h
  63.     llvisualparam.h
  64.     )
  65. set_source_files_properties(${llcharacter_HEADER_FILES}
  66.                             PROPERTIES HEADER_FILE_ONLY TRUE)
  67. list(APPEND llcharacter_SOURCE_FILES ${llcharacter_HEADER_FILES})
  68. add_library (llcharacter ${llcharacter_SOURCE_FILES})
  69. # Add tests
  70. include(LLAddBuildTest)
  71. # UNIT TESTS
  72. SET(llcharacter_TEST_SOURCE_FILES
  73.   lljoint.cpp
  74.   )
  75. LL_ADD_PROJECT_UNIT_TESTS(llcharacter "${llcharacter_TEST_SOURCE_FILES}")