2013-11-02 18:07:34 +08:00
|
|
|
set(CS_SRC
|
|
|
|
CCActionFrame.cpp
|
|
|
|
CCActionFrameEasing.cpp
|
|
|
|
CCActionManagerEx.cpp
|
|
|
|
CCActionNode.cpp
|
|
|
|
CCActionObject.cpp
|
|
|
|
CCArmature.cpp
|
|
|
|
CCBone.cpp
|
|
|
|
CCArmatureAnimation.cpp
|
|
|
|
CCProcessBase.cpp
|
|
|
|
CCTween.cpp
|
|
|
|
CCDatas.cpp
|
|
|
|
CCBatchNode.cpp
|
|
|
|
CCDecorativeDisplay.cpp
|
|
|
|
CCDisplayFactory.cpp
|
|
|
|
CCDisplayManager.cpp
|
|
|
|
CCSkin.cpp
|
|
|
|
CCColliderDetector.cpp
|
|
|
|
CCArmatureDataManager.cpp
|
|
|
|
CCArmatureDefine.cpp
|
|
|
|
CCDataReaderHelper.cpp
|
|
|
|
CCSpriteFrameCacheHelper.cpp
|
|
|
|
CCTransformHelp.cpp
|
|
|
|
CCTweenFunction.cpp
|
|
|
|
CCUtilMath.cpp
|
|
|
|
CCComAttribute.cpp
|
|
|
|
CCComAudio.cpp
|
|
|
|
CCComController.cpp
|
|
|
|
CCComRender.cpp
|
|
|
|
CCInputDelegate.cpp
|
|
|
|
CSContentJsonDictionary.cpp
|
|
|
|
DictionaryHelper.cpp
|
|
|
|
CCSGUIReader.cpp
|
|
|
|
CCSSceneReader.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
..
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(cocostudio STATIC
|
|
|
|
${CS_SRC}
|
|
|
|
)
|
2013-11-04 13:10:04 +08:00
|
|
|
|
|
|
|
target_link_libraries(cocostudio
|
|
|
|
jsoncpp
|
|
|
|
)
|
2013-11-04 14:49:42 +08:00
|
|
|
|
|
|
|
set_target_properties(cocostudio
|
|
|
|
PROPERTIES
|
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
|
|
|
|
)
|
|
|
|
|