[DOC] Add hints for debug build (#19675)

* Added HINTS for generating PDB files and debugging

* Fixed upper case

* Keep hint only for Windows OS

* build_raspbian.md: Added empty line
This commit is contained in:
Artyom Anokhov 2023-09-07 16:39:02 +02:00 committed by GitHub
parent 4eb9c57424
commit f9560518e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,11 +44,17 @@ Supported configurations:
```sh
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release <openvino>
```
On Windows on ARM for ARM64 architecture:
```sh
cmake -G "Visual Studio 16 2019" -DOPENVINO_EXTRA_MODULES=<openvino_contrib>/modules/arm_plugin -DCMAKE_BUILD_TYPE=Release <openvino>
```
> **HINT**: **Generating PDB Files and Debugging Your Build** <br>
> If you intend to generate PDB files and debug your build, it is essential to set the CMake build type appropriately.
> You should utilize one of the following CMake build type options: <br>
>* `-DCMAKE_BUILD_TYPE=RelWithDebInfo`: This option generates PDB files with release information, making it suitable for debugging optimized builds. <br>
>* `-DCMAKE_BUILD_TYPE=Debug`: This option generates PDB files optimized for debugging, providing comprehensive debugging information.
4. Build generated solution in Visual Studio or run `cmake --build . --config Release --verbose -j8` to build from the command line. Be aware that this process may take some time.