diff options
author | Sven Göthel <[email protected]> | 2024-08-09 02:04:21 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-08-09 02:04:21 +0200 |
commit | 16c57012a01f641b8d4d07860d9af2bc27225971 (patch) | |
tree | 20f3d6eeb50a9db5e165621c7d4fa4bfd89f1d09 /README.md | |
parent | adc6a50ff46cb2dfea18c942e1fdd372a2f18888 (diff) |
Align to jaulib 1.3.3: Full cmake-presets usage w/ vscode support updatev0.0.2
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -99,6 +99,7 @@ Following debug presets are defined in `CMakePresets.json` - default compiler - C++20 - debug enabled + - disabled `clang-tidy` - `debug-gcc` - inherits from `debug` - compiler: `gcc` @@ -110,6 +111,7 @@ Following debug presets are defined in `CMakePresets.json` - `release` - inherits from `debug` - debug disabled + - disabled `clang-tidy` - `release-gcc` - compiler: `gcc` - disabled `clang-tidy` @@ -129,6 +131,8 @@ cmake --build --preset release-gcc --parallel cmake --build --preset release-gcc --target test install doc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +You may utilize `scripts/build-preset.sh` for an initial build, install and test workflow. + <a name="cmake_presets_hardcoded"></a> #### CMake Build via Hardcoded Presets @@ -230,10 +234,10 @@ vi ../direct_bt.code-workspace ~~~~~~~~~~~~~ Then you can open it via `File . Open Workspace from File...` menu item. - All listed extensions are referenced in this workspace file to be installed via the IDE -- The [local settings.json](.vscode/settings.json) has `clang-tidy` enabled - - If using `clang-tidy` is too slow, just remove it from the settings file. - - `clangd` will still contain a good portion of `clang-tidy` checks - +- Select one of the [CMake Presets](README.md#cmake_presets_optional) for + - Configuration + - Build + - Test ## Support & Sponsorship *Gamp* is lead by [Gothel Software](https://jausoft.com/). |