rewriting and organizing the code
This commit is contained in:
parent
17799309a9
commit
20cb5a12f8
17 changed files with 10766 additions and 32 deletions
|
|
@ -1,16 +1,12 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
project(games)
|
||||
SET(CMAKE_CXX_FLAGS "-std=c++23")
|
||||
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})
|
||||
include(ExternalProject)
|
||||
Loading…
Add table
Add a link
Reference in a new issue