-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CMAKE_BUILD_TYPE instead of BUILD_DEBUG
Use CMAKE_BUILD_TYPE instead of BUILD_DEBUG, as CMAKE_BUILD_TYPE is the standard CMake variable and offers additional build types like RelWithDebInfo. Previously the additional build types were impossible to use, as they were simply overridden. Also some CMake GUI integrations will ask the user for the build type and use it as the value of the CMAKE_BUILD_TYPE variable. This option is defined before the project directive, as CMake will otherwise define it to some toolchain specific value [1]. [1] https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html
- Loading branch information
Showing
3 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters