]> git.lizzy.rs Git - nothing.git/blobdiff - CMakeLists.txt
(#587) Use scripts_of_svg.py to generate deps for Makefile
[nothing.git] / CMakeLists.txt
index 2e2a7aada01a4253f35a5610f1c820331b1478e6..5083557503e5166d00ec14d151e86ee5cc374ee3 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 
@@ -105,10 +111,14 @@ add_executable(nothing
   src/game/level/script.c
   src/system/log.h
   src/system/log.c
+  src/system/log_script.h
+  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
 )
 
 add_executable(repl
@@ -139,6 +149,10 @@ add_executable(repl
   src/system/log.c
   src/system/nth_alloc.h
   src/system/nth_alloc.c
+  src/ebisp/repl_runtime.h
+  src/ebisp/repl_runtime.c
+  src/ebisp/std.h
+  src/ebisp/std.c
   )
 add_executable(nothing_test
   src/ebisp/builtins.c