summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt
new file mode 100644
index 0000000..d633eb4
--- /dev/null
+++ b/editor/CMakeLists.txt
@@ -0,0 +1,13 @@
+set(SUBMODULE_EXECUTABLE rune-editor)
+
+list(APPEND SUBMODULE_FILES
+ src/editor.c
+)
+
+list(APPEND SUBMODULE_LINK_LIBS
+ rune-engine
+)
+
+set(SUBMODULE_HEADER_DIR ${CMAKE_SOURCE_DIR}/editor/include)
+
+include(${CMAKE_SOURCE_DIR}/CMake/SubmoduleDefines.cmake)