MLECO-3518: Separates CMakePrests
Separates CMakePresets to respective.
Adds options preset file with log-level and single-input for use-cases.
Adds use-case file with base build preset with all the targets.
Adds a configurable targets to all build presets.
Adds additional config/build preset to show-off options-presets.
Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
Change-Id: Id82ce9c5b8d7cc48b80d784141dc22efa2690222
diff --git a/scripts/cmake/platforms/platforms-preset.json b/scripts/cmake/platforms/platforms-preset.json
new file mode 100644
index 0000000..7a96d7a
--- /dev/null
+++ b/scripts/cmake/platforms/platforms-preset.json
@@ -0,0 +1,62 @@
+{
+ "version": 4,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 23,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "mps3-300-platform",
+ "description": "Target mps3 board, SSE-300 subsystem.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "mps3"
+ },
+ "TARGET_SUBSYSTEM": {
+ "type": "STRING",
+ "value": "sse-300"
+ }
+ }
+ },
+ {
+ "name": "mps3-310-platform",
+ "description": "Target mps3 board, SSE-310 subsystem.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "mps3"
+ },
+ "TARGET_SUBSYSTEM": {
+ "type": "STRING",
+ "value": "sse-310"
+ }
+ }
+ },
+ {
+ "name": "simple-platform",
+ "description": "Target simple platform.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "simple_platform"
+ }
+ }
+ },
+ {
+ "name": "native-platform",
+ "description": "Target native platform.",
+ "hidden": true,
+ "cacheVariables": {
+ "TARGET_PLATFORM": {
+ "type": "STRING",
+ "value": "native"
+ }
+ }
+ }
+ ]
+}
\ No newline at end of file