qt5base-lts/tests/auto/tools/CMakeLists.txt
Fabian Kosmale 7b3a2f5e3d cmake support for tst_moc
We use qt_wrap_cpp instead of AUTOMOC so that we can easily find the
json files.
Getting autorcc to run only after json file has been generated was
deemed too tricky.  Therefore the test is slightly modified to check for
the json files in its directory instead of the resource, if the qrc file
does not exist.

Change-Id: Id1aabb117c8bab3ff81156da1f66d64e796bf18b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-08-10 12:59:46 +02:00

14 lines
279 B
CMake

# Generated from tools.pro.
add_subdirectory(qmakelib)
add_subdirectory(qmake)
add_subdirectory(moc)
add_subdirectory(rcc)
if(TARGET Qt::Widgets)
add_subdirectory(uic)
endif()
if(TARGET Qt::DBus)
add_subdirectory(qdbuscpp2xml)
add_subdirectory(qdbusxml2cpp)
endif()