]> git.lizzy.rs Git - nothing.git/blobdiff - CMakeLists.txt
(#625) Introduce broadcast.lisp
[nothing.git] / CMakeLists.txt
index a0723dff8747dd9ada2f858f75b4562d6a82b464..bd2d43f224d915f35d6e50689f9d7440942808b2 100644 (file)
@@ -13,7 +13,13 @@ find_package(SDL2 REQUIRED)
 find_package(SDL2_mixer REQUIRED)
 
 include_directories(src/)
-include_directories(${SDL2_INCLUDE_DIR})
+
+if(APPLE)
+  include_directories(${SDL2_INCLUDE_DIR}/..)
+else()
+  include_directories(${SDL2_INCLUDE_DIR})
+endif()
+
 include_directories(${SDL2_MIXER_INCLUDE_DIR})
 
 add_executable(nothing 
@@ -109,8 +115,18 @@ add_executable(nothing
   src/system/log_script.c
   src/system/nth_alloc.h
   src/system/nth_alloc.c
-  src/game/level_script.c
-  src/game/level_script.h
+  src/ebisp/std.h
+  src/ebisp/std.c
+  src/system/stacktrace.h
+  src/system/stacktrace.c
+  src/game/level_picker.h
+  src/game/level_picker.c
+  src/broadcast.c
+  src/broadcast.h
+  src/game/level/rigid_bodies.h
+  src/game/level/rigid_bodies.c
+  src/math/extrema.h
+  src/math/extrema.c
 )
 
 add_executable(repl
@@ -143,7 +159,37 @@ add_executable(repl
   src/system/nth_alloc.c
   src/ebisp/repl_runtime.h
   src/ebisp/repl_runtime.c
+  src/ebisp/std.h
+  src/ebisp/std.c
+  src/system/stacktrace.h
+  src/system/stacktrace.c
   )
+add_executable(baker
+  src/ebisp/baker.c
+  src/ebisp/parser.c
+  src/ebisp/parser.h
+  src/ebisp/tokenizer.h
+  src/ebisp/tokenizer.c
+  src/ebisp/builtins.h
+  src/ebisp/builtins.c
+  src/ebisp/expr.c
+  src/ebisp/expr.h
+  src/ebisp/gc.c
+  src/ebisp/gc.h
+  src/system/lt.c
+  src/system/lt.h
+  src/system/lt/lt_slot.c
+  src/system/lt/lt_slot.h
+  src/system/stacktrace.h
+  src/system/stacktrace.c
+  src/system/nth_alloc.h
+  src/system/nth_alloc.c
+  src/system/log.h
+  src/system/log.c
+  src/str.h
+  src/str.c
+  )
+
 add_executable(nothing_test
   src/ebisp/builtins.c
   src/ebisp/builtins.h
@@ -174,6 +220,8 @@ add_executable(nothing_test
   src/system/log.c
   src/system/nth_alloc.h
   src/system/nth_alloc.c
+  src/system/stacktrace.h
+  src/system/stacktrace.c
   )
 target_link_libraries(nothing ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY} m)
 target_link_libraries(nothing_test ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY} m)