]> git.lizzy.rs Git - nothing.git/blobdiff - CMakeLists.txt
(#408) use stdbool in camera unit
[nothing.git] / CMakeLists.txt
index b4037411a000fcf200798c0bc15172d459a313ca..c04c55c79412d9b6b3fcac3c6b83138b190288e9 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/region.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,9 @@ set(HEADER_FILES
   src/ui/log.h
   src/str.h
   src/ui/history.h
+  src/game/level/region.h
 )
 
-add_executable(nothing ${SOURCE_FILES} ${HEADER_FILES})
 add_executable(repl
   src/script/builtins.c
   src/script/builtins.h