2020-02-25 00:44:40 +01:00
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ".")
|
|
|
|
|
|
|
|
|
|
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
|
|
|
|
|
|
|
|
|
|
include_directories(${ENGINE_ROOT})
|
|
|
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
|
|
add_subdirectory(Engine/)
|
|
|
|
|
target_link_libraries(Seele_unit_tests ${Boost_LIBRARIES})
|
|
|
|
|
|
2020-06-02 11:46:18 +02:00
|
|
|
target_precompile_headers(Seele_unit_tests
|
|
|
|
|
PRIVATE
|
|
|
|
|
<assert.h>
|
|
|
|
|
<memory>
|
|
|
|
|
<atomic>
|
|
|
|
|
<cstring>
|
|
|
|
|
<iostream>
|
|
|
|
|
<string>
|
|
|
|
|
<thread>
|
|
|
|
|
<functional>
|
|
|
|
|
<filesystem>
|
|
|
|
|
<fstream>
|
|
|
|
|
<mutex>
|
|
|
|
|
<condition_variable>)
|
|
|
|
|
|
|
|
|
|
|
2020-02-25 00:44:40 +01:00
|
|
|
enable_testing()
|
|
|
|
|
add_test(SeeleEngineTest Seele_unit_tests)
|