Explorar o código

Merge topic 'bootstrap-release'

9969efa1ae bootstrap: Build with Release config by default to get optimizations

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4196
Brad King %!s(int64=6) %!d(string=hai) anos
pai
achega
4409bfbe9b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      bootstrap

+ 1 - 0
bootstrap

@@ -1595,6 +1595,7 @@ rebuild_cache:
 echo '
 # Generated by '"${cmake_source_dir}"'/bootstrap
 # Default cmake settings.  These may be overridden any settings below.
+set (CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build.") # not FORCE to preserve defaults specified elsewhere
 set (CMAKE_INSTALL_PREFIX "'"${cmake_prefix_dir}"'" CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
 set (CMAKE_DOC_DIR "'"${cmake_doc_dir}"'" CACHE PATH "Install location for documentation (relative to prefix)." FORCE)
 set (CMAKE_MAN_DIR "'"${cmake_man_dir}"'" CACHE PATH "Install location for man pages (relative to prefix)." FORCE)