summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..0dfa0857
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,16 @@
+cmake_minimum_required(VERSION 3.0)
+
+# Config options
+set(BUILD_EXAMPLES ON CACHE BOOL "Build the examples.")
+set(BUILD_GAMES ON CACHE BOOL "Build the example games.")
+
+add_subdirectory(src release)
+
+if (${BUILD_EXAMPLES})
+ add_subdirectory(examples)
+endif()
+
+if (${BUILD_GAMES})
+ add_subdirectory(games)
+endif()
+