mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 19:20:10 -06:00
Some AUTOGEN tests require the Qt core libraries only and some require the Qt gui libraries to function. This replaces the AutogenTest.cmake script with two specific AutogenCoreTest.cmake and AutogenGuiTest.cmake scripts that are included on demand.
11 lines
330 B
CMake
11 lines
330 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
project(Parallel2)
|
|
include("../AutogenGuiTest.cmake")
|
|
|
|
# Test different values for AUTOGEN_PARALLEL
|
|
include("../Parallel/parallel.cmake")
|
|
|
|
add_executable(parallel2 ${PARALLEL_SRC})
|
|
set_target_properties(parallel2 PROPERTIES AUTOGEN_PARALLEL 2)
|
|
target_link_libraries(parallel2 ${QT_LIBRARIES})
|