Skip to content

Add CMakePresets.json

Bartosz Podrygajlo requested to merge cmake-presets into develop

Introduce CMakePresests.json which is a simple way to perform incremental build using cmake

New configure resets were added:

  • default: Configure compilation with default options
  • tests: Same as above but ENABLE_TESTS and SANITIZE_ADDRESS is ON

New build presets were added:

  • 5gdefault: Build the software for NR rfsimulator test
  • default: same as 5gdefault
  • 4gdefault: Build the software for LTE rfsimulator test
  • tests: build all unit tests

To configure using configuration preset:

cmake --preset <preset_name>

To build using a build preset:

cmake --build --preset <preset_name>

Edited by Bartosz Podrygajlo

Merge request reports

Loading