axmol/cocos/editor-support/spine/CMakeLists.txt

39 lines
617 B
CMake
Raw Normal View History

2013-11-02 18:07:34 +08:00
set(SPINE_SRC
Animation.cpp
AnimationState.cpp
AnimationStateData.cpp
Atlas.cpp
AtlasAttachmentLoader.cpp
Attachment.cpp
AttachmentLoader.cpp
Bone.cpp
BoneData.cpp
Json.cpp
RegionAttachment.cpp
Skeleton.cpp
SkeletonData.cpp
SkeletonJson.cpp
Skin.cpp
Slot.cpp
SlotData.cpp
extension.cpp
spine-cocos2dx.cpp
CCSkeleton.cpp
CCSkeletonAnimation.cpp
)
include_directories(
..
)
add_library(spine STATIC
${SPINE_SRC}
)
2013-11-04 14:49:42 +08:00
set_target_properties(spine
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
)