summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-10-16 20:19:11 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-10-22 15:24:39 (GMT)
commit64afabdbcb265acb53a9b8f8cb86465d31f2ca61 (patch)
treeca2616a38a2bf7c80d8635d7fd0f2957645a0a45 /Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx
parent609122007dc074739b394d2f70f674bbccca6073 (diff)
downloadCMake-64afabdbcb265acb53a9b8f8cb86465d31f2ca61.zip
CMake-64afabdbcb265acb53a9b8f8cb86465d31f2ca61.tar.gz
CMake-64afabdbcb265acb53a9b8f8cb86465d31f2ca61.tar.bz2
CMakePresets.json: Split cmakeGeneratorConfig field
Make this field separate for both architecture and toolset. Allow architecture and toolset to be either strings or objects with value and strategy fields. Fixes: #21317
Diffstat (limited to 'Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx')
-rw-r--r--Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx b/Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx
index 6ee55c3..a95d008 100644
--- a/Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx
+++ b/Tests/CMakeGUI/QCMakePresetComboBoxTest.cxx
@@ -24,8 +24,9 @@ void QCMakePresetComboBoxTest::changePresets()
/*description=*/"",
/*generator=*/"Ninja",
/*architecture=*/"",
+ /*setArchitecture=*/true,
/*toolset=*/"",
- /*setGenConfig=*/true,
+ /*setToolset=*/true,
/*enabled=*/true,
},
});
@@ -48,8 +49,9 @@ void QCMakePresetComboBoxTest::changePresets()
/*description=*/"",
/*generator=*/"Ninja Multi-Config",
/*architecture=*/"",
+ /*setArchitecture=*/true,
/*toolset=*/"",
- /*setGenConfig=*/true,
+ /*setToolset=*/true,
/*enabled=*/true,
},
});