diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a442bb1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,20 @@ +cmake_minimum_required(VERSION 3.15) +project(Simple-Platformer VERSION 1.0.0) + +find_package(raylib REQUIRED) + +add_executable(game +#===========HEADERS=============== + "src/constants.h" + "src/settings.h" +#===========SOURCES=============== + "src/entity.h" + "src/settings.c" + "src/main.c" +) + +target_link_libraries(game PRIVATE raylib) + +if (UNIX) + target_link_libraries(game PRIVATE m) +endif() |
