algorithm_2024/CMakeLists.txt
2024-10-01 11:11:53 +08:00

15 lines
328 B
CMake

cmake_minimum_required(VERSION 3.10)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_compile_options(-Wall)
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
message("Is in [Release] mode")
else()
message("Is in [NotRelease] mode")
endif()
project(alogrithm_2024)
add_executable(P1031 ${CMAKE_CURRENT_LIST_DIR}/P1031/main.cpp)