westonpace commented on a change in pull request #11505:
URL: https://github.com/apache/arrow/pull/11505#discussion_r734075744
##########
File path: docs/source/developers/cpp/building.rst
##########
@@ -121,9 +121,23 @@ argument is omitted then a release build will be produced.
.. note::
- You need to more options to build on Windows. See
+ You need to set more options to build on Windows. See
:ref:`developers-cpp-windows` for details.
+Other options for build type are also possible:
+
+* ``Debug``: doesn't apply any optimization passes in the compiler and
+ leaves the symbol map in the binary.
+* ``FastDebug``
+* ``RelWithDebInfo``: applies compiler optimizations and it removes the symbol
+ map from the binary.
+* ``Release``: fast but less useful for debugging or profiling.
+* ``Profile_Gen``
+* ``Profile_Build``
Review comment:
As far as being opinionated I agree that Debug/RelWithDebInfo/Release
are the most popular choices. C++ developers will also likely be familiar with
those as they come builtin from cmake.
The other three (FastDebug/Profile_Gen/Profile_Build) are for fairly niche
use cases and I'm not sure we really need to list them out here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]