axmol/cocos/math/kazmath/CMakeLists.txt

24 lines
337 B
CMake

SET(KAZMATH_SOURCES
mat4.c
mat3.c
plane.c
vec4.c
quaternion.c
vec2.c
vec3.c
utility.c
aabb.c
ray2.c
GL/mat4stack.c
GL/matrix.c
)
ADD_SUBDIRECTORY(src)
set_target_properties(kazmath
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
)