Mention debug build option for cmake.

This commit is contained in:
Rot127 2022-12-17 12:29:09 -05:00 committed by GitHub
parent f40c8ba327
commit 61b2fe38ce
1 changed files with 5 additions and 2 deletions

View File

@ -70,9 +70,12 @@ Get CMake for free from http://www.cmake.org.
cmake ..
This last command is also where you can pass additional CMake configuration flags
using `-D<key>=<value>`. Then to build use:
using `-D<key>=<value>`.
For a debug build add `-DCMAKE_BUILD_TYPE=Debug`.
cmake --build . --config Release
Then to build use:
cmake --build . --config [Release/Debug]
(*) To build Capstone using Nmake of Windows SDK, do: