axmol/cocos/math/kazmath/CMakeLists.txt

24 lines
853 B
CMake
Raw Normal View History

2013-11-02 14:44:54 +08:00
SET(KAZMATH_SOURCES
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/mat4.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/mat3.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/plane.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/vec4.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/quaternion.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/vec2.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/vec3.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/utility.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/aabb.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/ray2.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/GL/mat4stack.c
${CMAKE_SOURCE_DIR}/cocos/math/kazmath/src/GL/matrix.c
)
2013-11-04 14:49:42 +08:00
ADD_SUBDIRECTORY(src)
set_target_properties(kazmath
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
)