summaryrefslogtreecommitdiffhomepage
path: root/main/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-06 07:11:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-06 07:11:48 +0200
commit66ee29df9c19e35b4c126e12e48bc144fe72eb22 (patch)
treec5d8a80cb917a1e33d8efdf6ffc653694e67c759 /main/CMakeLists.txt
parent9b2b5c5fd5880f35e2e952bb89fc709f4b814364 (diff)
a
Diffstat (limited to 'main/CMakeLists.txt')
-rw-r--r--main/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
new file mode 100644
index 00000000..cb3b1f2c
--- /dev/null
+++ b/main/CMakeLists.txt
@@ -0,0 +1,8 @@
+set(self "${PROJECT_NAME}-main")
+file(GLOB sources "*.cpp" CONFIGURE_ARGS)
+
+link_libraries(${PROJECT_NAME}
+ Magnum::Application Magnum::Trade MagnumIntegration::Glm)
+corrade_add_resource(res ../resources.conf)
+add_executable(${self} WIN32 "${sources}" "${res}")
+set_property(TARGET ${self} PROPERTY OUTPUT_NAME "${PROJECT_NAME}")