Files
oatmeal/examples/logging/CMakeLists.txt
firewire 3c72fc91a5
All checks were successful
Build / Build (push) Successful in 3m8s
ctx - Instance creation
2026-04-12 22:33:52 -04:00

19 lines
714 B
CMake

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