summaryrefslogtreecommitdiff
path: root/dux-demo/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dux-demo/CMakeLists.txt')
-rw-r--r--dux-demo/CMakeLists.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/dux-demo/CMakeLists.txt b/dux-demo/CMakeLists.txt
new file mode 100644
index 0000000..7c799d8
--- /dev/null
+++ b/dux-demo/CMakeLists.txt
@@ -0,0 +1,45 @@
+cmake_minimum_required(
+ VERSION
+ 3.19
+)
+
+# Language Standards:
+set(
+ CMAKE_C_STANDARD
+ 11
+)
+set(
+ CMAKE_C_STANDARD_REQUIRED
+ TRUE
+)
+set(
+ CMAKE_CXX_STANDARD
+ 20
+)
+set(
+ CMAKE_CXX_STANDARD_REQUIRED
+ TRUE
+)
+
+# Project:
+project(
+ dux-demo
+ LANGUAGES
+ C
+ CXX
+ VERSION
+ ${DUX_VERSION}
+)
+
+# Target:
+add_executable(
+ dux-demo
+ "ctest.c"
+ "main.cc"
+)
+
+# Dependencies:
+target_link_libraries(
+ dux-demo
+ dux
+) \ No newline at end of file