pixwerx/src/core/CMakeLists.txt

61 lines
1.1 KiB
Text
Raw Normal View History

2017-06-27 23:20:14 +02:00
2018-12-27 23:45:16 +01:00
set(hdrs
include/pw/core/aabb.hpp
2019-01-22 14:16:03 +01:00
include/pw/core/axisangle.hpp
include/pw/core/color.hpp
include/pw/core/core.hpp
include/pw/core/debug.hpp
include/pw/core/globals.hpp
include/pw/core/math.hpp
include/pw/core/matrixbase.hpp
2019-01-22 14:16:03 +01:00
include/pw/core/matrix.hpp
include/pw/core/quaternion.hpp
include/pw/core/image.hpp
include/pw/core/point.hpp
include/pw/core/resource.hpp
include/pw/core/rectangle.hpp
include/pw/core/serialize.hpp
2019-01-14 21:48:16 +01:00
include/pw/core/size.hpp
2019-02-18 19:31:53 +01:00
include/pw/core/time.hpp
2019-01-22 14:16:03 +01:00
include/pw/core/mesh.hpp
2019-01-17 17:34:14 +01:00
include/pw/core/image.hpp
include/pw/core/vector.hpp
2019-02-18 19:31:53 +01:00
include/pw/core/matrix_transform.hpp
)
2018-12-27 23:45:16 +01:00
2019-01-22 09:06:22 +01:00
set(misc
2019-01-22 14:16:03 +01:00
${CMAKE_SOURCE_DIR}/README.md
${CMAKE_SOURCE_DIR}/LICENSE
${CMAKE_SOURCE_DIR}/TODO.md
)
2019-01-22 09:06:22 +01:00
2018-12-27 23:45:16 +01:00
set(srcs
2019-02-18 19:31:53 +01:00
# src/buffer.cpp
src/core.cpp
src/image.cpp
src/debug.cpp
src/mesh.cpp
src/resource.cpp
2019-01-22 14:16:03 +01:00
src/serialize.cpp
2019-02-18 19:31:53 +01:00
src/time.cpp
2019-01-17 17:34:14 +01:00
src/image.cpp
)
2018-12-27 23:45:16 +01:00
add_library(pwcore
STATIC
${hdrs}
${srcs}
2019-01-22 14:16:03 +01:00
${misc}
)
2018-12-27 23:45:16 +01:00
target_include_directories(
pwcore
PUBLIC
include
)
2018-12-27 23:45:16 +01:00
target_link_libraries(pwcore)
add_subdirectory(tests)
2017-06-27 23:20:14 +02:00