diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-09 07:55:22 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-09 07:55:22 +0100 |
commit | 60072c1d8089ffd3294e76636198d14710be95b8 (patch) | |
tree | 511d459e9afe69ca58d05880eb53ce44a9a183c6 /yage/CMakeLists.txt | |
parent | 660996bd750dbb5fcdce85845ee6b260f3ed23eb (diff) | |
download | YAGE-60072c1d8089ffd3294e76636198d14710be95b8.tar.gz YAGE-60072c1d8089ffd3294e76636198d14710be95b8.zip |
Restructuring
Diffstat (limited to 'yage/CMakeLists.txt')
-rw-r--r-- | yage/CMakeLists.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/yage/CMakeLists.txt b/yage/CMakeLists.txt new file mode 100644 index 00000000..d45ffa90 --- /dev/null +++ b/yage/CMakeLists.txt @@ -0,0 +1,33 @@ +cmake_policy(SET CMP0048 NEW) + +project(yage + VERSION 0.1.1.0 + LANGUAGES CXX + ) + +include(base/CMakeLists.txt) +include(physics/CMakeLists.txt) +include(math/CMakeLists.txt) + +set(YAGE_SOURCES + ${YAGE_BASE_SOURCES} + ${YAGE_PHYSICS_SOURCES} + ${YAGE_MATH_SOURCES} + ) + +set(${PROJECT_NAME}_DIR + ${PROJECT_SOURCE_DIR}) + +add_library(${PROJECT_NAME} + ${YAGE_SOURCES} + ) + +target_include_directories(${PROJECT_NAME} + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} + ) + +target_link_libraries(${PROJECT_NAME} + ${OPENGL_LIBRARIES} + ${GLEW_LIBRARIES} + ${SDL2_LIBRARIES} + ) |