pixwerx/src/core/CMakeLists.txt

55 lines
1,005 B
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/debug.hpp
2019-01-18 22:04:14 +01:00
include/pw/core/axisangle.hpp
include/pw/core/core.hpp
include/pw/core/math.hpp
include/pw/core/matrixbase.hpp
include/pw/core/matrix.hpp
include/pw/core/vector.hpp
2019-01-17 17:34:14 +01:00
# include/pw/core/quaternion.hpp
# include/pw/core/serialize.hpp
include/pw/core/image.hpp
include/pw/core/point.hpp
2019-01-14 21:48:16 +01:00
include/pw/core/rect.hpp
include/pw/core/size.hpp
include/pw/core/timer.hpp
include/pw/core/mesh.hpp
include/pw/core/globals.hpp
2019-01-17 17:34:14 +01:00
include/pw/core/image.hpp
)
2018-12-27 23:45:16 +01:00
set(srcs
2019-01-17 17:34:14 +01:00
# src/buffer.cpp
src/image.cpp
src/debug.cpp
src/mesh.cpp
src/core.cpp
2019-01-17 17:34:14 +01:00
# src/serialize.cpp
src/timer.cpp
2019-01-17 17:34:14 +01:00
src/image.cpp
${CMAKE_SOURCE_DIR}/README.md
${CMAKE_SOURCE_DIR}/LICENSE
2019-01-17 17:34:14 +01:00
${CMAKE_SOURCE_DIR}/TODO.md
)
2018-12-27 23:45:16 +01:00
add_library(pwcore
STATIC
${hdrs}
${srcs}
)
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(src)
add_subdirectory(tests)
2017-06-27 23:20:14 +02:00