summaryrefslogtreecommitdiff
path: root/CMakePresets.json
AgeCommit message (Collapse)Author
2022-08-24MLECO-3399: Remove default bin dir from presetsMaksims Svecovs
Configuring binaryDir prevents user from creating and naming out directory - cmake ignores ./ folder it is run from and creates root/binaryDir for the output. Removing this option allows user full control over the destination directory. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I2190d5063f4b9f70376934f7b23ecdb9d6cedc8f
2022-08-05MLECO-3232: Add basic cmake presetsMaksims Svecovs
Assuming cmake 3.21 adds basic configuration and build presets: * Target mps3 board with gcc * Target mps3 board with armclang * Target simple platform with gcc * Target simple platform with armclang * Target native build system Adds test preset for native build to run default ctests. Adds respective doc section to building instructions. Note: hidden configurationPresets are to be moved to respective project directories once cmake 3.24 is supported in the codebase and preset include is supported. Note: it is encouraged to create a personal CMakeUserPresets.json with personal preferences like specific `LOG_LEVEL` and `jobs` for faster compilation time. Usage example: cmake --preset=mps3-gcc Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I07a8861ed91160cc3f5167e16be45a921b60a285