File: ITKInitializeBuildType.cmake

package info (click to toggle)
insighttoolkit4 4.12.2-dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 424,944 kB
  • sloc: cpp: 556,475; ansic: 145,857; fortran: 34,788; python: 17,383; sh: 2,120; lisp: 2,070; tcl: 993; java: 362; perl: 200; makefile: 121; csh: 81; pascal: 69; xml: 19; ruby: 10
file content (7 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
# Set a default build type if none was specified
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
  message(STATUS "Setting build type to 'Release' as none was specified.")
  set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
  # Set the possible values of build type for cmake-gui
  set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()