aca-tasks/CMakeLists.txt

23 lines
427 B
CMake
Raw Normal View History

2023-10-31 13:48:54 +00:00
cmake_minimum_required(VERSION 3.0)
project(task1)
2023-11-01 20:04:12 +00:00
set(CMAKE_CXX_STANDARD 20)
2023-10-31 13:48:54 +00:00
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
2023-11-01 09:29:35 +00:00
if (${CMAKE_BUILD_TYPE} STREQUAL "Release")
set(CMAKE_)
add_compile_options(
-Wall
-Wpedantic
-O3
-g3
)
add_compile_definitions(
NDEBUG)
endif ()
2023-10-31 13:48:54 +00:00
2023-10-31 14:06:08 +00:00
add_subdirectory(task1)