You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
384 B
17 lines
384 B
cmake_minimum_required(VERSION 3.16)
|
|
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)
|