blob: dcfb532949b4c6a05f9b3decd00e476a62cc7f29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
project(universe)
add_library(
${PROJECT_NAME} STATIC
src/JsonRepository.cpp
src/NotFound.cpp
src/TurretType.cpp
src/universe.cpp
)
target_include_directories(
${PROJECT_NAME}
PUBLIC include
)
add_resources(
universe_resources FILES
resources/universe/ship_types.json
resources/universe/turret_types.json
)
add_executable(
${PROJECT_NAME}_test
tests/TurretType.cpp
)
target_link_libraries(
${PROJECT_NAME}_test
PRIVATE ${PROJECT_NAME}
PRIVATE GTest::gtest_main
)
gtest_discover_tests(
${PROJECT_NAME}_test
DISCOVERY_TIMEOUT 60
)
|