diff options
Diffstat (limited to 'src/readme.md')
-rw-r--r-- | src/readme.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/readme.md b/src/readme.md index a4a71e7..15fa6f3 100644 --- a/src/readme.md +++ b/src/readme.md @@ -8,26 +8,27 @@ Examples (using Ninja): ``` $ cmake -B build -G Ninja -$ ninja -C build +$ cmake --build build ``` Unit tests can be built by explicitly specifying the target `test_main` when running the build command: ``` -$ ninja -C build test_main +$ cmake --build build --target test_main ``` -Each source file in the example/ folder corresponds to a CMake target as well: +Each source file in the example/ folder corresponds to a CMake target as well +(all examples can be built at once by specifying the `examples` target): ``` -$ ninja -C build audio_internal components_internal +$ cmake --build build --target audio_internal script ``` For installing crêpe system-wide after building (install must be run with elevated privileges): ``` -# ninja -C build install +# cmake --install build ``` |