diff options
author | BoredGuy <osome3717@gmail.com> | 2025-07-28 05:14:54 -0700 |
---|---|---|
committer | BoredGuy <osome3717@gmail.com> | 2025-07-28 05:14:54 -0700 |
commit | 9e1627c229d8d094c7b55751d82db9d3579a16e1 (patch) | |
tree | b8623b5980e090b3faa91e55ed6f84cd1634b570 /CMakeLists.txt | |
parent | dc3d98ab47fefc8388455dbbd4d330e81499d95a (diff) |
Completed Basics
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
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() |