23 lines
427 B
CMake
23 lines
427 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
project(task1)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
if (${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
|
set(CMAKE_)
|
|
add_compile_options(
|
|
-Wall
|
|
-Wpedantic
|
|
-O3
|
|
-g3
|
|
)
|
|
add_compile_definitions(
|
|
NDEBUG)
|
|
endif ()
|
|
|
|
|
|
add_subdirectory(task1) |