summaryrefslogtreecommitdiffhomepage
path: root/test/CMakeLists.txt
blob: 0ef13ac6139d08a8f75c13e0de7ef8a62df03044 (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}" "../loader/loader-impl.cpp")
install(TARGETS ${self} RUNTIME DESTINATION bin)