Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
8
-
Tooling Sprint 2022/3.4, Tooling Sprint 2022/3.5, Tooling Sprint 2022/3.6, Tooling Sprint 4.2/2022, Tooling Sprint 4.3/2022, Tooling Sprint 4.4/2022
Description
Most of the CMake entries defined in the json kit files involve paths.
Often, a default path is given. Sometimes, the default path is different depending on the platform. Also sometimes it is relative to system paths (e.g. "Programs and Files").
As the current version of the plugin was pre-filling those default paths with hardcoded data, there is already functionality to find those system paths.
However, we need to read this information from the json, and have enough basic logic to, based on the json information, fill in the appropiate data. E.g.:
"defaultValue": { "windows": "$ROOT/nxp/MCUXpressoIDE*", "unix": "/usr/local/mcuxpressoide/" }
when parsing this, the plugin should choose one of the two given values depending on the host platform, and in the case of Windows it should be able to replace "$ROOT" with the appropriate path (usually C:/ , should be given by be system).
Current wildcards used:
- $ROOT
- $PROGRAMSANDFILES
- $HOME
- $Qul_ROOT
- $QUL_BOARD_SDK_DIR