summaryrefslogtreecommitdiff
path: root/scripts/cmake/options-preset.json
diff options
context:
space:
mode:
authorMaksims Svecovs <maksims.svecovs@arm.com>2022-09-28 14:43:07 +0100
committerMaksims Svecovs <maksims.svecovs@arm.com>2022-09-28 16:40:23 +0100
commit45488504483793195947a200f59527432ad5b31a (patch)
tree682f55af4bf77c1f340daa8d390c9bb78fcbb82e /scripts/cmake/options-preset.json
parent9d329f41b325e4c711c796e5b9bd9b3d8c08324d (diff)
downloadml-embedded-evaluation-kit-45488504483793195947a200f59527432ad5b31a.tar.gz
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
Diffstat (limited to 'scripts/cmake/options-preset.json')
-rw-r--r--scripts/cmake/options-preset.json71
1 files changed, 71 insertions, 0 deletions
diff --git a/scripts/cmake/options-preset.json b/scripts/cmake/options-preset.json
new file mode 100644
index 0000000..57b7a7d
--- /dev/null
+++ b/scripts/cmake/options-preset.json
@@ -0,0 +1,71 @@
+{
+ "version": 4,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 23,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "log-trace",
+ "hidden": true,
+ "cacheVariables": {
+ "LOG_LEVEL": {
+ "type": "STRING",
+ "value": "LOG_LEVEL_TRACE"
+ }
+ }
+ },
+ {
+ "name": "log-debug",
+ "hidden": true,
+ "cacheVariables": {
+ "LOG_LEVEL": {
+ "type": "STRING",
+ "value": "LOG_LEVEL_DEBUG"
+ }
+ }
+ },
+ {
+ "name": "log-info",
+ "hidden": true,
+ "cacheVariables": {
+ "LOG_LEVEL": {
+ "type": "STRING",
+ "value": "LOG_LEVEL_INFO"
+ }
+ }
+ },
+ {
+ "name": "log-warning",
+ "hidden": true,
+ "cacheVariables": {
+ "LOG_LEVEL": {
+ "type": "STRING",
+ "value": "LOG_LEVEL_WARN"
+ }
+ }
+ },
+ {
+ "name": "log-error",
+ "hidden": true,
+ "cacheVariables": {
+ "LOG_LEVEL": {
+ "type": "STRING",
+ "value": "LOG_LEVEL_ERROR"
+ }
+ }
+ },
+ {
+ "name": "single-input",
+ "hidden": true,
+ "description": "Use single default input data for each use case.",
+ "cacheVariables": {
+ "USE_SINGLE_INPUT": {
+ "type": "BOOL",
+ "value": "TRUE"
+ }
+ }
+ }
+ ]
+} \ No newline at end of file