Commit ed768910 authored by GILLES Sebastien's avatar GILLES Sebastien

#1342 In the cmake Python script, add proper mode handling (it mistakenly used...

#1342 In the cmake Python script, add proper mode handling (it mistakenly used sanitizer flag previously).
parent 61d34a9f
......@@ -57,6 +57,13 @@ If you need to change a value which is not provided in this script input, you ma
help=
"If you want to supersede pre-cache_file cache value, the path of the directory in which all third libraries are installed."
)
parser.add_argument(
'--mode',
help=
"Either 'Debug' or 'Release'; if not specified debug mode is chosen."
)
parser.add_argument(
'--install_directory',
......@@ -213,7 +220,7 @@ If you need to change a value which is not provided in this script input, you ma
self._cache_entry("CMAKE_BUILD_TYPE", \
"STRING",
"Either 'Debug' or 'Release'",
args.use_sanitizer)
args.mode)
self._cache_entry("CMAKE_CXX_STANDARD",
"STRING",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment