summaryrefslogtreecommitdiffhomepage
path: root/test/CMakeLists.txt
blob: 2e3415bd776bf85636fff7bd539a6c90ac348461 (plain)
1
2
3
4
5
6
7
8
9
10
set(self "${PROJECT_NAME}-test")
file(GLOB sources "*.cpp" CONFIGURE_ARGS)

file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/test")

link_libraries(${PROJECT_NAME})
link_libraries(Magnum::WindowlessWglApplication Magnum::Trade)

add_executable(${self} "${sources}" "../main/loader-impl.cpp")
install(TARGETS ${self} RUNTIME DESTINATION bin)