2017-06-27 23:20:14 +02:00
|
|
|
|
2018-12-27 23:45:16 +01:00
|
|
|
set(hdrs
|
2019-01-09 11:34:19 +01:00
|
|
|
include/pw/core/debug.hpp
|
2019-01-18 22:04:14 +01:00
|
|
|
include/pw/core/axisangle.hpp
|
2019-01-07 17:09:20 +01:00
|
|
|
include/pw/core/core.hpp
|
|
|
|
include/pw/core/math.hpp
|
|
|
|
include/pw/core/matrixbase.hpp
|
2019-01-18 21:45:23 +01:00
|
|
|
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
|
2019-01-07 17:09:20 +01:00
|
|
|
include/pw/core/image.hpp
|
2019-01-09 16:24:16 +01:00
|
|
|
include/pw/core/point.hpp
|
2019-01-14 21:48:16 +01:00
|
|
|
include/pw/core/rect.hpp
|
|
|
|
include/pw/core/size.hpp
|
2019-01-07 17:09:20 +01:00
|
|
|
include/pw/core/timer.hpp
|
2019-01-18 21:45:23 +01:00
|
|
|
include/pw/core/mesh.hpp
|
2019-01-07 17:09:20 +01:00
|
|
|
include/pw/core/globals.hpp
|
2019-01-17 17:34:14 +01:00
|
|
|
include/pw/core/image.hpp
|
2019-01-07 17:09:20 +01:00
|
|
|
)
|
2018-12-27 23:45:16 +01:00
|
|
|
|
|
|
|
set(srcs
|
2019-01-17 17:34:14 +01:00
|
|
|
# src/buffer.cpp
|
2019-01-07 17:09:20 +01:00
|
|
|
src/image.cpp
|
2019-01-09 11:34:19 +01:00
|
|
|
src/debug.cpp
|
2019-01-18 21:45:23 +01:00
|
|
|
src/mesh.cpp
|
2019-01-07 17:09:20 +01:00
|
|
|
src/core.cpp
|
2019-01-17 17:34:14 +01:00
|
|
|
# src/serialize.cpp
|
2019-01-07 17:09:20 +01:00
|
|
|
src/timer.cpp
|
2019-01-17 17:34:14 +01:00
|
|
|
src/image.cpp
|
2019-01-07 17:09:20 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/README.md
|
|
|
|
${CMAKE_SOURCE_DIR}/LICENSE
|
2019-01-17 17:34:14 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/TODO.md
|
2019-01-07 17:09:20 +01:00
|
|
|
)
|
2018-12-27 23:45:16 +01:00
|
|
|
|
|
|
|
add_library(pwcore
|
2019-01-07 17:09:20 +01:00
|
|
|
STATIC
|
|
|
|
${hdrs}
|
|
|
|
${srcs}
|
|
|
|
)
|
2018-12-27 23:45:16 +01:00
|
|
|
|
|
|
|
target_include_directories(
|
2019-01-07 17:09:20 +01:00
|
|
|
pwcore
|
|
|
|
PUBLIC
|
|
|
|
include
|
|
|
|
)
|
2018-12-27 23:45:16 +01:00
|
|
|
|
|
|
|
target_link_libraries(pwcore)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#add_subdirectory(src)
|
2018-04-02 01:06:50 +02:00
|
|
|
add_subdirectory(tests)
|
2017-06-27 23:20:14 +02:00
|
|
|
|