blob: 4f73f7165a508a0551950b423d532143fb42fa83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
set(self floormat-serialize)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
add_library(${self} STATIC "${sources}")
target_link_libraries(
${self} PUBLIC
floormat-loader
floormat
Magnum::Magnum
nlohmann_json::nlohmann_json
)
if(FLOORMAT_PRECOMPILED-HEADERS)
target_precompile_headers(${self} PRIVATE precomp.hpp)
endif()
if(MSVC)
add_compile_options(-EHsc)
endif()
|