diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 18:02:18 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-15 12:00:31 +0000 |
commit | ca650f91c84914b66451b4a926dc2332dbefd582 (patch) | |
tree | 42d38b2bcbd1d51fef2b557283fe5b212c0631fc | |
parent | b6911e039b047b8d231ae2c2ae45c4ee039c3dbc (diff) |
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820
Change-Id: I66ac3eb1dc59dfaa6754d396acffb0a62084624e
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit cf5a94bee3cf87cc216a64cb7a565e80053632af)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/opcua/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opcua/waterpump/CMakeLists.txt | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/opcua/CMakeLists.txt b/examples/opcua/CMakeLists.txt index ad05b15..cb8c012 100644 --- a/examples/opcua/CMakeLists.txt +++ b/examples/opcua/CMakeLists.txt @@ -1,10 +1,10 @@ # Generated from opcua.pro. if(TARGET Qt::Widgets) - add_subdirectory(opcuaviewer) + qt_internal_add_example(opcuaviewer) endif() if(QT_FEATURE_gds AND QT_FEATURE_ssl AND NOT APPLE AND NOT WINRT) - add_subdirectory(x509) + qt_internal_add_example(x509) endif() if(QT_FEATURE_open62541 AND TARGET Qt::Quick) add_subdirectory(waterpump) diff --git a/examples/opcua/waterpump/CMakeLists.txt b/examples/opcua/waterpump/CMakeLists.txt index 92f7964..de9deff 100644 --- a/examples/opcua/waterpump/CMakeLists.txt +++ b/examples/opcua/waterpump/CMakeLists.txt @@ -1,5 +1,5 @@ # Generated from waterpump.pro. -add_subdirectory(simulationserver) -add_subdirectory(waterpump-qmlcpp) -add_subdirectory(waterpump-qml) +qt_internal_add_example(simulationserver) +qt_internal_add_example(waterpump-qmlcpp) +qt_internal_add_example(waterpump-qml) |