From 0ed3bb4569ded185237c6d530285382e6c2b6200 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Fri, 13 Mar 2026 13:08:45 +0300 Subject: Initial Comit --- CMakeLists.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3