diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
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) |
