Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: prototyping support for CMake presets json file.
This commit introduces a CMakePresets.json in asset tracker. CMake presets allows for additional sample and build description in a single file. The CMake presets also allows vendor specific fields, and thus allows it to contain information that normally lives in sample.yaml or testcase.yaml. It is also possible to introduce IDE specific data to improve user experience. The sample can still be build with existing commands, but the preset file also allows for building of the application as: `cmake -DBOARD=nrf9160dk_nrf9160ns --preset=default .` or `cmake -DBOARD=nrf9160dk_nrf9160ns --preset=test.` instead of: `cmake -DBOARD=nrf9160dk_nrf9160ns -GNinja -Bbuild .` or `cmake -DBOARD=nrf9160dk_nrf9160ns -GNinja -Bbuild -DCONF_FILE=prj_test.conf .` Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
- Loading branch information