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

45 lines
792 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
2013-12-19 09:50:37 +08:00
BoundingBoxAttachment.cpp
Event.cpp
EventData.cpp
2013-11-02 18:07:34 +08:00
Json.cpp
RegionAttachment.cpp
Skeleton.cpp
2013-12-19 09:50:37 +08:00
SkeletonBounds.cpp
2013-11-02 18:07:34 +08:00
SkeletonData.cpp
SkeletonJson.cpp
Skin.cpp
Slot.cpp
SlotData.cpp
2013-12-19 09:50:37 +08:00
Slot.cpp
SlotData.cpp
2013-11-02 18:07:34 +08:00
extension.cpp
spine-cocos2dx.cpp
CCSkeleton.cpp
CCSkeletonAnimation.cpp
BoundingBoxAttachment.cpp
Event.cpp
EventData.cpp
SkeletonBounds.cpp
2013-11-02 18:07:34 +08:00
)
2014-08-06 22:43:19 +08:00
include_directories( .. )
2013-11-02 18:07:34 +08:00
2014-08-06 22:43:19 +08:00
add_library(spine STATIC ${SPINE_SRC})
2013-11-04 14:49:42 +08:00
set_target_properties(spine
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
2013-11-04 14:49:42 +08:00
)