rewriting and organizing the code

This commit is contained in:
kin fuyuki 2025-12-20 20:06:58 -03:00
commit 17799309a9
No known key found for this signature in database
GPG key ID: 0E4E8E519FB71401
14 changed files with 626 additions and 0 deletions

16
CMakeLists.txt Normal file
View file

@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.20)
if(WIN32)
set(PLATFORM_DIR "windows")
else()
set(PLATFORM_DIR "linux")
endif()
add_subdirectory(lib/raylib)
add_subdirectory(engine)
add_subdirectory(games/forespend)
include(ExternalProject)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build/objs/${PLATFORM_DIR})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/out/${PLATFORM_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/built/runtime/${PLATFORM_DIR})