]> git.lizzy.rs Git - nothing.git/blobdiff - CMakeLists.txt
TODO(#456)
[nothing.git] / CMakeLists.txt
index b4037411a000fcf200798c0bc15172d459a313ca..4f9f0ba22e1736d365ea8c17901d1a3a49d3e318 100644 (file)
@@ -16,11 +16,10 @@ include_directories(src/)
 include_directories(${SDL2_INCLUDE_DIR})
 include_directories(${SDL2_MIXER_INCLUDE_DIR})
 
-set(SOURCE_FILES
+add_executable(nothing 
   src/color.c
   src/game.c
   src/game/camera.c
-  src/game/debug_tree.c
   src/ui/edit_field.c
   src/game/level.c
   src/game/level/background.c
@@ -58,14 +57,10 @@ set(SOURCE_FILES
   src/ui/log.c
   src/str.c
   src/ui/history.c
-)
-
-set(HEADER_FILES
+  src/game/level/regions.c
   src/color.h
   src/game.h
   src/game/camera.h
-  src/game/debug_node.h
-  src/game/debug_tree.h
   src/ui/edit_field.h
   src/game/level.h
   src/game/level/background.h
@@ -105,9 +100,13 @@ set(HEADER_FILES
   src/ui/log.h
   src/str.h
   src/ui/history.h
+  src/game/level/regions.h
+  src/system/line_stream.h
+  src/system/line_stream.c
+  src/game/level/script.h
+  src/game/level/script.c
 )
 
-add_executable(nothing ${SOURCE_FILES} ${HEADER_FILES})
 add_executable(repl
   src/script/builtins.c
   src/script/builtins.h