summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/LowMinimumVersion/CMakeLists.txt
blob: a6ac338e3d4445a6111c4e4715a41c390e37a7d0 (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("../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})