summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/LowMinimumVersion/CMakeLists.txt
blob: e1af3d863542f2b1db140daad8416fcd1374c8e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Use a low minimum version
cmake_minimum_required(VERSION 3.0)
project(LowMinimumVersion)
include("../AutogenGuiTest.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})