blob: f12604ab4ef604e637a7a80673c0cd668d00ba57 (
plain)
1
2
3
4
5
6
7
8
9
10
|
set(self floormat-draw)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
add_library(${self} OBJECT "${sources}")
target_link_libraries(${self} PUBLIC Magnum::GL)
if(NOT MSVC)
target_precompile_headers(${self} REUSE_FROM floormat)
else()
target_precompile_headers(${self} PRIVATE ../src/precomp.hpp)
endif()
|