[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 authored and GitHub committed 2023-09-07 16:39:02 +02:00
1 parent 4eb9c57424
commit f9560518e3
1 file changed
+7 -1
+7 -1
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.