initializing pretend project

This commit is contained in:
kin fuyuki 2026-02-23 19:49:50 -03:00
commit d5474f5107
No known key found for this signature in database
GPG key ID: 0E4E8E519FB71401
3 changed files with 31 additions and 0 deletions

View file

@ -9,6 +9,7 @@ endif()
add_subdirectory(engine)
add_subdirectory(games/forespend)
add_subdirectory(games/pretend)
add_subdirectory(games/animatronical/q1/a1)
add_subdirectory(games/endlauncher)
include(ExternalProject)

View file

@ -0,0 +1,27 @@
cmake_minimum_required(VERSION 3.20)
# this game will be the hardest to make buuuut
# it will be a challenge to i be able to code around
# 8h/day and not burn out since im managing many different projects
# and i wont get bored, cuz if i do i switch between
# pretend, forespend and animatronical
set(CMAKE_CXX_FLAGS "-std=c++26 -Wno-error -Oz -w -g -mavx2")
file(GLOB_RECURSE PRETEND_SOURCES CONFIGURE_DEPENDS "src/*.cpp")
add_executable(pretend ${PRETEND_SOURCES})
if(NOT DEFINED ${ARCH})
set(ARCH "linux-64")
endif(NOT DEFINED ${ARCH})
set_target_properties(pretend PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/built/pretend/${PLATFORM_DIR}/bin"
)
target_link_directories(
pretend PUBLIC
"${CMAKE_SOURCE_DIR}/link")
target_link_libraries(pretend PRIVATE
enginend
raylib
)
target_include_directories(pretend PUBLIC
${CMAKE_SOURCE_DIR}/include
)

View file

@ -0,0 +1,3 @@
//
// Created by komi on 2/23/26.
//