blob: 929868b5257e02b9e05b00f2e1bd155f11c4d10a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
cmake_minimum_required(VERSION 3.10)
project(UicInclude)
include("../AutogenGuiTest.cmake")
# Test uic include patterns
set(CMAKE_AUTOUIC_SEARCH_PATHS "dirA")
add_executable(uicInclude main.cpp)
target_link_libraries(uicInclude ${QT_LIBRARIES})
set_target_properties(uicInclude PROPERTIES AUTOUIC ON)
set_property(TARGET uicInclude APPEND PROPERTY AUTOUIC_SEARCH_PATHS "dirB")
|