ctx - Instance creation
All checks were successful
Build / Build (push) Successful in 3m8s

This commit is contained in:
2026-04-12 22:33:52 -04:00
parent 700fcd53f4
commit 3c72fc91a5
8 changed files with 192 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.28)
project(oatmeal)
set(CMAKE_CXX_STANDARD 23)
add_executable(createContext "${CMAKE_CURRENT_SOURCE_DIR}/main.cpp")
target_include_directories(createContext PRIVATE oatmeal SharedUtils)
target_link_libraries(createContext oatmeal SharedUtils)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set_target_properties(createContext PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/Debug/")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set_target_properties(createContext PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/Release/")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
set_target_properties(createContext PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/Relwithdeb/")
endif()