summaryrefslogtreecommitdiffhomepage
path: root/main/CMakeLists.txt
blob: c3174562e7093a5cf42172fdca5dc6de7293d150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set(self floormat-main)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)

add_library(${self} OBJECT "${sources}")
target_link_libraries(${self} PUBLIC
    Magnum::Sdl2Application
    Corrade::Containers
    Magnum::GL
    Magnum::Trade
    fmt::fmt
    tsl::robin_map
)

#if(NOT MSVC)
#    target_precompile_headers(${self} REUSE_FROM floormat)
#else()
#    target_precompile_headers(${self} PRIVATE ../src/precomp.hpp)
#endif()