2021-11-20 13:41:27 +01:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
2018-04-23 21:13:27 +02:00
|
|
|
project(UicInclude)
|
2019-11-11 23:01:05 +01:00
|
|
|
include("../AutogenGuiTest.cmake")
|
2017-07-20 19:35:53 +02:00
|
|
|
|
2018-04-23 21:13:27 +02:00
|
|
|
# Test uic include patterns
|
2017-07-20 19:35:53 +02:00
|
|
|
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")
|