summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c10168..a1560e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,18 +5,26 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
find_package(raylib REQUIRED)
+option(BEATEMUP_DEBUG "Enable or disable debug highlihts" OFF)
add_executable(game
"include/game.h"
"include/constants.h"
+ "include/physics.h"
+ "include/player.h"
"src/game.c"
"src/main.c"
+ "src/player.c"
)
target_include_directories(game PRIVATE "include")
target_link_libraries(game raylib)
+if (BEATEMUP_DEBUG)
+ target_compile_definitions(game PRIVATE BEATEMUP_DEBUG)
+endif()
+
if (UNIX)
target_link_libraries(game m)
endif()