From f9560518e390c9c1cc39bc2d129f0ef9046f8faf Mon Sep 17 00:00:00 2001 From: Artyom Anokhov Date: Thu, 7 Sep 2023 16:39:02 +0200 Subject: [PATCH] [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 --- docs/dev/build_windows.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/dev/build_windows.md b/docs/dev/build_windows.md index bc555ee1a0a..e63d4830904 100644 --- a/docs/dev/build_windows.md +++ b/docs/dev/build_windows.md @@ -44,11 +44,17 @@ Supported configurations: ```sh cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release ``` - + On Windows on ARM for ARM64 architecture: ```sh cmake -G "Visual Studio 16 2019" -DOPENVINO_EXTRA_MODULES=/modules/arm_plugin -DCMAKE_BUILD_TYPE=Release ``` + + > **HINT**: **Generating PDB Files and Debugging Your Build**
+ > 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:
+ >* `-DCMAKE_BUILD_TYPE=RelWithDebInfo`: This option generates PDB files with release information, making it suitable for debugging optimized builds.
+ >* `-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.