CMakeLists.txt
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:2k
- # -*- cmake -*-
- project(llcharacter)
- include(00-Common)
- include(LLCommon)
- include(LLMath)
- include(LLMessage)
- include(LLVFS)
- include(LLXML)
- include_directories(
- ${LLCOMMON_INCLUDE_DIRS}
- ${LLMATH_INCLUDE_DIRS}
- ${LLMESSAGE_INCLUDE_DIRS}
- ${LLVFS_INCLUDE_DIRS}
- ${LLXML_INCLUDE_DIRS}
- )
- set(llcharacter_SOURCE_FILES
- llanimationstates.cpp
- llbvhloader.cpp
- llcharacter.cpp
- lleditingmotion.cpp
- llgesture.cpp
- llhandmotion.cpp
- llheadrotmotion.cpp
- lljoint.cpp
- lljointsolverrp3.cpp
- llkeyframefallmotion.cpp
- llkeyframemotion.cpp
- llkeyframemotionparam.cpp
- llkeyframestandmotion.cpp
- llkeyframewalkmotion.cpp
- llmotioncontroller.cpp
- llmotion.cpp
- llmultigesture.cpp
- llpose.cpp
- llstatemachine.cpp
- lltargetingmotion.cpp
- llvisualparam.cpp
- )
- set(llcharacter_HEADER_FILES
- CMakeLists.txt
- llanimationstates.h
- llbvhloader.h
- llbvhconsts.h
- llcharacter.h
- lleditingmotion.h
- llgesture.h
- llhandmotion.h
- llheadrotmotion.h
- lljoint.h
- lljointsolverrp3.h
- lljointstate.h
- llkeyframefallmotion.h
- llkeyframemotion.h
- llkeyframemotionparam.h
- llkeyframestandmotion.h
- llkeyframewalkmotion.h
- llmotion.h
- llmotioncontroller.h
- llmultigesture.h
- llpose.h
- llstatemachine.h
- lltargetingmotion.h
- llvisualparam.h
- )
- set_source_files_properties(${llcharacter_HEADER_FILES}
- PROPERTIES HEADER_FILE_ONLY TRUE)
- list(APPEND llcharacter_SOURCE_FILES ${llcharacter_HEADER_FILES})
- add_library (llcharacter ${llcharacter_SOURCE_FILES})
- # Add tests
- include(LLAddBuildTest)
- # UNIT TESTS
- SET(llcharacter_TEST_SOURCE_FILES
- lljoint.cpp
- )
- LL_ADD_PROJECT_UNIT_TESTS(llcharacter "${llcharacter_TEST_SOURCE_FILES}")