Skip to content

Commit

Permalink
Change default CMake build type from RelWithDebInfo to Release (#317)
Browse files Browse the repository at this point in the history
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
  • Loading branch information
jmcarcell and jmcarcell committed Nov 19, 2023
1 parent bdeb3ed commit 022b847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial_buildsystems.rst
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ that you want. Options include:
With these options you can specify whether you want your executable to have
the debug version only, release version or the release with debug information.
Release executables tend to be more optimized than Debug. In Spack, we set
the default as RelWithDebInfo unless otherwise specified through a variant.
the default as Release unless otherwise specified through a variant.

Spack then automatically sets up the :code:`-DCMAKE_INSTALL_PREFIX` path,
appends the build type (:code:`RelWithDebInfo` default), and then specifies a verbose
Expand Down

0 comments on commit 022b847

Please sign in to comment.