blob: 076299db1f108a6f28ab764335d74ff6125b5348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
cmake_minimum_required(VERSION 3.13)
project(UicNoGui)
include("../AutogenCoreTest.cmake")
# This tests creates a target that has AUTOUIC enabled but does not
# link against QtXWidgets.
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_subdirectory(MocOnly)
add_subdirectory(NoQt)
add_executable(uicNoGui main.cpp)
target_link_libraries(uicNoGui mocOnly noQt)
|