More CMake bullshit

This commit is contained in:
sippeangelo
2015-11-30 11:16:43 +01:00
parent 8419d2e7b9
commit 52278d7bc2
20 changed files with 264 additions and 85 deletions
+5 -2
View File
@@ -1,9 +1,12 @@
project(Tests)
project(TacticalZ-Tests)
find_package(Boost REQUIRED COMPONENTS chrono thread unit_test_framework)
set(INCLUDE_PATH ${CMAKE_SOURCE_DIR}/include)
include_directories(
${CMAKE_SOURCE_DIR}/include
${INCLUDE_PATH}/Engine
${INCLUDE_PATH}/Game
${INCLUDE_PATH}/Tests
${Boost_INCLUDE_DIRS}
)
+2
View File
@@ -0,0 +1,2 @@
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>