summaryrefslogtreecommitdiffhomepage
path: root/test/CMakeLists.txt
blob: ea0009f8507ff5488480ef62a1447ecfcc2cba87 (plain)
1
2
3
4
5
6
7
8
9
10
11
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")
add_library(${self} STATIC "${sources}" "../loader/loader-impl.cpp")
install(TARGETS ${self} RUNTIME DESTINATION bin)