summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/CMakeLists.txt.in
blob: c787db1d5613b3aaa81ede0f4919efe37c183830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cmake_minimum_required(VERSION 3.10)

project(UicOnFileChange)
include("@CMAKE_CURRENT_LIST_DIR@/../AutogenGuiTest.cmake")

# Enable CMAKE_AUTOUIC for all targets
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)

add_executable(UicOnFileChange main.cpp mainwindow.ui mainwindow.h
)
target_include_directories(UicOnFileChange PRIVATE
    "${CMAKE_CURRENT_SOURCE_DIR}"
    "${CMAKE_CURRENT_BINARY_DIR}/UicOnFileChange_autogen/include"
)
target_link_libraries(UicOnFileChange ${QT_QTCORE_TARGET} ${QT_LIBRARIES})