You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
357 B
17 lines
357 B
7 years ago
|
# Use a low minimum version
|
||
|
cmake_minimum_required(VERSION 3.0)
|
||
|
project(LowMinimumVersion)
|
||
|
include("../AutogenTest.cmake")
|
||
|
|
||
|
set(CMAKE_AUTOMOC ON)
|
||
|
set(CMAKE_AUTOUIC ON)
|
||
|
set(CMAKE_AUTORCC ON)
|
||
|
add_executable(lowMinimumVersion
|
||
|
main.cpp
|
||
|
item.hpp
|
||
|
item.cpp
|
||
|
view.ui
|
||
|
someText.txt
|
||
|
example.qrc)
|
||
|
target_link_libraries(lowMinimumVersion ${QT_QTCORE_TARGET})
|