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
|
2013-12-20 20:18:32 +08:00
|
|
|
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
|
2014-01-07 15:44:36 +08:00
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
2013-11-04 14:49:42 +08:00
|
|
|
)
|
|
|
|
|