Files
rest_rpc/cmake/build.cmake
T

11 lines
238 B
CMake
Raw Normal View History

2024-01-21 16:36:47 +08:00
# Compile Standard
2025-07-23 20:13:00 +08:00
set(CMAKE_CXX_STANDARD 20)
2024-01-21 16:36:47 +08:00
2025-10-10 10:10:33 +08:00
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/bigobj>")
2024-01-21 16:36:47 +08:00
# Build Type
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")