blob: a2d71a61d27c68afeede45d4230a72bb1ef7b5ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
set(self ${PROJECT_NAME}-main)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
link_libraries(${PROJECT_NAME})
link_libraries(Magnum::Sdl2Application Corrade::Containers Magnum::GL Magnum::Trade)
link_libraries(MagnumIntegration::ImGui)
add_library(${self} STATIC "${sources}")
if(FLOORMAT_PRECOMPILED-HEADERS)
target_precompile_headers(${self} PRIVATE precomp.hpp)
endif()
|