From d5474f51073caf3fbf9129e5252544d910741a90 Mon Sep 17 00:00:00 2001 From: kin-fuyuki Date: Mon, 23 Feb 2026 19:49:50 -0300 Subject: [PATCH] initializing pretend project --- CMakeLists.txt | 1 + games/pretend/CMakeLists.txt | 27 +++++++++++++++++++++++++++ games/pretend/src/main.cpp | 3 +++ 3 files changed, 31 insertions(+) create mode 100644 games/pretend/CMakeLists.txt create mode 100644 games/pretend/src/main.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 198aa24..c7fe35f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) \ No newline at end of file diff --git a/games/pretend/CMakeLists.txt b/games/pretend/CMakeLists.txt new file mode 100644 index 0000000..4bea9e2 --- /dev/null +++ b/games/pretend/CMakeLists.txt @@ -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 +) \ No newline at end of file diff --git a/games/pretend/src/main.cpp b/games/pretend/src/main.cpp new file mode 100644 index 0000000..2dc53d2 --- /dev/null +++ b/games/pretend/src/main.cpp @@ -0,0 +1,3 @@ +// +// Created by komi on 2/23/26. +// \ No newline at end of file