axmol/cocos/base/CMakeLists.txt

28 lines
452 B
CMake

set(COCOS_BASE_SRC
CCAffineTransform.cpp
CCAutoreleasePool.cpp
CCGeometry.cpp
CCNS.cpp
CCObject.cpp
CCSet.cpp
CCArray.cpp
CCDictionary.cpp
CCString.cpp
CCDataVisitor.cpp
CCData.cpp
etc1.cpp
s3tc.cpp
atitc.cpp
)
add_library(cocosbase STATIC
${COCOS_BASE_SRC}
)
set_target_properties(cocosbase
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
)