blob: 222ffe4f16b6e4efc81bacb1dff4305e693333eb (
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
|
set(self floormat-benchmark)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
add_library(${self}_o OBJECT "${res}" "${sources}")
add_executable(${self} dummy.cc)
target_link_libraries(${self}_o PUBLIC
${floormat_headless-library}
Magnum::Magnum
Magnum::Trade
nlohmann_json::nlohmann_json
fmt::fmt
tsl::robin_map
)
if(TARGET benchmark::benchmark)
target_link_libraries(${self}_o PUBLIC benchmark::benchmark)
else()
target_link_libraries(${self}_o PUBLIC benchmark)
endif()
target_link_libraries(${self} PUBLIC ${self}_o floormat-serialize floormat-draw floormat)
fm_install_executable(${self})
|