diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 18:06:41 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-15 11:07:24 +0100 |
commit | 4628d78394c9462f9581d928b1eadcebc744d416 (patch) | |
tree | b37fa4a14e562a90a049a942d96e04007de441e4 /examples/statemachine | |
parent | 9ea7489b102973632514d3d62cc008cb3b4d0331 (diff) |
Switch examples to build as isolated sub-builds
Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: If98118e7f8fb9fc2dce8ab1c0da6b104053b822e
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples/statemachine')
-rw-r--r-- | examples/statemachine/animation/CMakeLists.txt | 10 | ||||
-rw-r--r-- | examples/statemachine/graphicsview/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/statemachine/statemachine/CMakeLists.txt | 12 |
3 files changed, 12 insertions, 12 deletions
diff --git a/examples/statemachine/animation/CMakeLists.txt b/examples/statemachine/animation/CMakeLists.txt index 6a60fe4..3124521 100644 --- a/examples/statemachine/animation/CMakeLists.txt +++ b/examples/statemachine/animation/CMakeLists.txt @@ -1,7 +1,7 @@ # Generated from animation.pro. -add_subdirectory(animatedtiles) -add_subdirectory(moveblocks) -add_subdirectory(states) -add_subdirectory(stickman) -add_subdirectory(sub-attaq) +qt_internal_add_example(animatedtiles) +qt_internal_add_example(moveblocks) +qt_internal_add_example(states) +qt_internal_add_example(stickman) +qt_internal_add_example(sub-attaq) diff --git a/examples/statemachine/graphicsview/CMakeLists.txt b/examples/statemachine/graphicsview/CMakeLists.txt index 8408c3f..154e02d 100644 --- a/examples/statemachine/graphicsview/CMakeLists.txt +++ b/examples/statemachine/graphicsview/CMakeLists.txt @@ -1,3 +1,3 @@ # Generated from graphicsview.pro. -add_subdirectory(padnavigator) +qt_internal_add_example(padnavigator) diff --git a/examples/statemachine/statemachine/CMakeLists.txt b/examples/statemachine/statemachine/CMakeLists.txt index 90a7b3e..e0246b8 100644 --- a/examples/statemachine/statemachine/CMakeLists.txt +++ b/examples/statemachine/statemachine/CMakeLists.txt @@ -1,10 +1,10 @@ # Generated from statemachine.pro. -add_subdirectory(factorial) -add_subdirectory(pingpong) +qt_internal_add_example(factorial) +qt_internal_add_example(pingpong) if(TARGET Qt::Widgets) - add_subdirectory(eventtransitions) - add_subdirectory(rogue) - add_subdirectory(trafficlight) - add_subdirectory(twowaybutton) + qt_internal_add_example(eventtransitions) + qt_internal_add_example(rogue) + qt_internal_add_example(trafficlight) + qt_internal_add_example(twowaybutton) endif() |