aboutsummaryrefslogtreecommitdiff
path: root/examples/hello/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello/CMakeLists.txt')
-rw-r--r--examples/hello/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/hello/CMakeLists.txt b/examples/hello/CMakeLists.txt
new file mode 100644
index 0000000..e6657d1
--- /dev/null
+++ b/examples/hello/CMakeLists.txt
@@ -0,0 +1,11 @@
+include_directories(
+ ${SYST_INCLUDE_DIRS}
+)
+
+add_executable(hello hello.c)
+target_link_libraries(hello ${SYST_LIBRARIES})
+
+install(TARGETS hello
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION bin
+) \ No newline at end of file