From ae9418696664246f30dbdbc592988e9e1299f31c Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Fri, 10 Jan 2025 19:00:03 +0100 Subject: fixed a local bug --- CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..cc7db86 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.0) +project(Tetris) + +# Use GCC as the compiler (if preferred) +set(CMAKE_C_COMPILER gcc) + +# Include Raylib headers and link libraries +include_directories(/opt/homebrew/Cellar/raylib/5.5/include) +link_directories(/opt/homebrew/Cellar/raylib/5.5/lib) + +# Add your source file +add_executable(tetris TETRIS.c) + +# Link Raylib +target_link_libraries(tetris raylib) -- cgit v1.2.3-70-g09d2