]> git.lizzy.rs Git - nothing.git/blobdiff - CMakeLists.txt
(#288) split create_atom
[nothing.git] / CMakeLists.txt
index aac27467ad8dc3b432edf6f74c2e10eb85b84529..ec554c2bf72a60afe295e63bdd4420bfef100f2f 100644 (file)
@@ -20,8 +20,8 @@ set(SOURCE_FILES
   src/color.c
   src/game.c
   src/game/camera.c
-  src/game/debug_node.h
   src/game/debug_tree.c
+  src/game/edit_field.c
   src/game/level.c
   src/game/level/background.c
   src/game/level/boxes.c
@@ -43,6 +43,8 @@ set(SOURCE_FILES
   src/math/rand.c
   src/math/rect.c
   src/math/triangle.c
+  src/script/expr.c
+  src/script/parser.c
   src/sdl/renderer.c
   src/system/error.c
   src/system/lt.c
@@ -56,6 +58,7 @@ set(HEADER_FILES
   src/game/camera.h
   src/game/debug_node.h
   src/game/debug_tree.h
+  src/game/edit_field.h
   src/game/level.h
   src/game/level/background.h
   src/game/level/boxes.h
@@ -77,6 +80,8 @@ set(HEADER_FILES
   src/math/rand.h
   src/math/rect.h
   src/math/triangle.h
+  src/script/expr.h
+  src/script/parser.h
   src/sdl/renderer.h
   src/system/error.h
   src/system/lt.h
@@ -85,6 +90,13 @@ set(HEADER_FILES
 )
 
 add_executable(nothing ${SOURCE_FILES} ${HEADER_FILES})
+add_executable(script_test
+  src/script_test.c
+  src/script/expr.h
+  src/script/expr.c
+  src/script/parser.h
+  src/script/parser.c
+)
 target_link_libraries(nothing ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY})
 
 if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "CLANG"))