1# - Re-set the available configurations to just RelWithDebInfo, Release, and Debug
2#
3# Requires these CMake modules:
4#  no additional modules required
5#
6# Original Author:
7# 2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
8# http://academic.cleardefinition.com
9# Iowa State University HCI Graduate Program/VRAC
10#
11# Copyright Iowa State University 2009-2010.
12# Distributed under the Boost Software License, Version 1.0.
13# (See accompanying file LICENSE_1_0.txt or copy at
14# http://www.boost.org/LICENSE_1_0.txt)
15#
16
17
18if(__reset_configurations)
19	return()
20endif()
21set(__reset_configurations YES)
22
23if(CMAKE_CONFIGURATION_TYPES)
24	set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;Debug")
25	set(CMAKE_CONFIGURATION_TYPES
26		"${CMAKE_CONFIGURATION_TYPES}"
27		CACHE
28		STRING
29		"Reset the configurations to what we need"
30		FORCE)
31endif()
32