mirror of https://github.com/axmolengine/axmol.git
38 lines
544 B
CMake
38 lines
544 B
CMake
set(COCOS_3D_SRC
|
|
CCRay.cpp
|
|
CCAABB.cpp
|
|
CCOBB.cpp
|
|
CCAnimate3D.cpp
|
|
CCAnimation3D.cpp
|
|
CCAttachNode.cpp
|
|
CCBundle3D.cpp
|
|
CCBundleReader.cpp
|
|
CCMesh.cpp
|
|
CCMeshSkin.cpp
|
|
CCSprite3DMaterial.cpp
|
|
CCObjLoader.cpp
|
|
CCSkeleton3D.cpp
|
|
CCSprite3D.cpp
|
|
CCSubMesh.cpp
|
|
CCSubMeshState.cpp
|
|
)
|
|
|
|
|
|
include_directories(
|
|
3d
|
|
)
|
|
|
|
add_library(cocos3d STATIC
|
|
${COCOS_3D_SRC}
|
|
)
|
|
|
|
target_link_libraries(cocos3d
|
|
cocos2d
|
|
)
|
|
|
|
set_target_properties(cocos3d
|
|
PROPERTIES
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
)
|