diff options
| author | Petr Mrázek | 2011-08-27 05:50:14 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-08-27 05:50:14 +0200 |
| commit | e9a04dfa6592a97d50bd21057de28004bc17bd23 (patch) | |
| tree | ae9de6169f9ac7743c60178374f214510ea5d886 /CMakeLists.txt | |
| parent | 4d54ac44e90595a656f2a77476a722e7d40f5c8f (diff) | |
| download | dfhack-e9a04dfa6592a97d50bd21057de28004bc17bd23.tar.gz dfhack-e9a04dfa6592a97d50bd21057de28004bc17bd23.tar.bz2 dfhack-e9a04dfa6592a97d50bd21057de28004bc17bd23.tar.xz | |
Circle designator uses diameter instead of radius, has no overdraw.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 602550b7..b13acece 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,10 @@ # main project file. use it from a build sub-folder, see COMPILE for details +## setting the build type. +IF(NOT DEFINED CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "") + SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Release RelWithDebInfo.") +ENDIF() + ## some generic CMake magic cmake_minimum_required(VERSION 2.8 FATAL_ERROR) project(dfhack) @@ -14,11 +19,6 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") message(FATAL_ERROR "In-source builds are not allowed.") endif() -## setting the build type. -IF(NOT DEFINED CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "") - SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Release RelWithDebInfo.") -ENDIF() - # set up versioning. set(DF_VERSION_MAJOR "0") set(DF_VERSION_MINOR "31") |
