summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..ef093a5
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(asteroid-helloworld main.cpp resources.qrc)
+set_target_properties(asteroid-helloworld PROPERTIES PREFIX "" SUFFIX "")
+
+target_link_libraries(asteroid-helloworld PUBLIC
+ AsteroidApp)
+
+install(TARGETS asteroid-helloworld
+ DESTINATION ${CMAKE_INSTALL_BINDIR})