-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'project-template/master'
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
####################################################################################################################### | ||
# | ||
# IMPORTANT NOTE: | ||
# | ||
# DO NOT MODIFY THIS FILE inside a project. Instead update the project-template repository and pull the change from | ||
# there. Make sure to keep the file generic, since it will be used by other projects, too. | ||
# | ||
# If you have modified this file inside a project despite this warning, make sure to cherry-pick all your changes | ||
# into the project-template repository immediately. | ||
# | ||
####################################################################################################################### | ||
|
||
####################################################################################################################### | ||
# Set the build type to Release if none is specified | ||
# Force it into Release if "None" is specified (needed to overrule dkpg_buildpackage) | ||
###################################################################################################################### | ||
|
||
if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None") | ||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING | ||
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." | ||
FORCE) | ||
endif(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None") | ||
|