forked from qt-creator/qt-creator
Task-number: QTCREATORBUG-21867 Change-Id: Ie167608257bb8b7d268a05f1935d77659a075dc1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
24 lines
434 B
CMake
24 lines
434 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project(examples LANGUAGES CXX)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
find_package(Qt5 COMPONENTS Widgets REQUIRED)
|
|
|
|
add_executable(examples
|
|
clazy_example.cpp
|
|
icontest.cpp
|
|
tidy_example.cpp
|
|
tidy_example.h
|
|
)
|
|
|
|
target_link_libraries(examples PRIVATE Qt5::Widgets)
|