summaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2024-04-12 11:30:02 +0100
committerKshitij Sisodia <kshitij.sisodia@arm.com>2024-05-07 09:41:06 +0100
commit774c7caaaccacfa07b2ba144f1602e640a5edd86 (patch)
treed247ef17b453ad055a7f4bc4de794c132e8cb9a1 /CMakePresets.json
parent4cef9acc2624a31111b47c25b8b1a2f37f7e0cb9 (diff)
downloadml-embedded-evaluation-kit-774c7caaaccacfa07b2ba144f1602e640a5edd86.tar.gz
MLECO-4935: Refactoring user options
Refactoring for CMake configuration options to allow target platform to drive their own defaults for certain dependent options. For example, the MPS3 target platform defaults to SSE-300 sub-system while native target doesn't need to worry about sub-system and CMSIS options which it will never use. This allows MPS4 target to default to SSE-315 and set the NPU arch to Arm Ethos-U65 as it should, which otherwise would have had to be explictly specified by the user. A welcome by-product of this is also that the options summary at the end of a successful CMake configuration stage would only include the settings that are actually used by the given target. Change-Id: Ibb7f8233d427cd33f39eeb4c71d88193aa998ebd Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com> Tested-by: mlecosys <mlecosys@arm.com> Reviewed-by: Alex Tawse <alex.tawse@arm.com> Reviewed-by: Conor Kennedy <conor.kennedy@arm.com> Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index 0385b04..6c2d053 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -6,7 +6,7 @@
"patch": 0
},
"include": [
- "scripts/cmake/options-preset.json",
+ "scripts/cmake/configuration_options/options-preset.json",
"scripts/cmake/platforms/platforms-preset.json",
"scripts/cmake/toolchains/toolchain-preset.json",
"source/use_case/usecase-preset.json"