blob: fb16a23037cdaa1c64ab2e3ea3d7189c9cd99c90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
set(self floormat)
file(GLOB sources *.cpp ../shaders/*.cpp ../compat/*.cpp ../entity/*.cpp CONFIGURE_ARGS)
add_library(${self} OBJECT "${sources}")
target_link_libraries(
${self} PUBLIC
Magnum::GL
Magnum::Magnum
Magnum::Shaders
fmt::fmt
)
if(FLOORMAT_PRECOMPILED-HEADERS)
target_precompile_headers(${self} PRIVATE precomp.hpp)
endif()
|