From 9e1627c229d8d094c7b55751d82db9d3579a16e1 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Mon, 28 Jul 2025 05:14:54 -0700 Subject: Completed Basics --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3