diff options
author | JF <jf@codingfield.com> | 2020-06-16 21:02:03 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-06-16 21:02:03 +0200 |
commit | 73e6cbde79d632a5446aca4372424456927597b9 (patch) | |
tree | 2b9b9b20f662227f67a63d95206c3424bc09c4a4 /README.md | |
parent | 5faa68ba1ab88c1fe8bf919c2cee24c9adbeae4d (diff) |
Fix builds that do not specify CMAKE_BUILD_TYPE during CMake generation. Apply Release by default.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -102,6 +102,14 @@ $ cd build $ cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=... -DNRF5_SDK_PATH=... -DUSE_OPENOCD=1 -DGDB_CLIENT_BIN_PATH=[optional] ../ ``` + +**Note** : By default, the build configuration *Release* is applied. It means that the code is built with optimisations enabled (-O3). If you wanto to compile in *Debug* mode to ease debugging and step-by-step debugging, specify the CMake variable `CMAKE_BUILD_TYPE` in the CMake command line: + +``` +-DCMAKE_BUILD_TYPE=Debug +``` + + * Make ``` $ make -j pinetime-app |