2023-10-31 13:48:54 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
2023-11-07 10:51:34 +00:00
|
|
|
project(aca-tasks)
|
2023-10-31 13:48:54 +00:00
|
|
|
|
2023-11-01 20:04:12 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
2023-10-31 13:48:54 +00:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
2023-11-07 10:33:16 +00:00
|
|
|
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/installed)
|
|
|
|
|
2023-11-01 09:29:35 +00:00
|
|
|
if (${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
|
|
|
add_compile_options(
|
|
|
|
-Wall
|
|
|
|
-Wpedantic
|
|
|
|
-O3
|
|
|
|
-g3
|
|
|
|
)
|
|
|
|
add_compile_definitions(
|
|
|
|
NDEBUG)
|
|
|
|
endif ()
|
|
|
|
|
2023-11-07 10:33:16 +00:00
|
|
|
add_subdirectory(third-party/fmt)
|
2023-10-31 14:06:08 +00:00
|
|
|
add_subdirectory(task1)
|