Skip to content

Commit

Permalink
Set default build type to 'Release'
Browse files Browse the repository at this point in the history
  • Loading branch information
layus committed Sep 21, 2016
1 parent 9d30e7b commit 62fbe1f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
cmake_minimum_required(VERSION 2.8)

# This needs to be before "project(..)".
if(NOT DEFINED CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release")
endif()
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")


project(MOZART CXX)

ENABLE_TESTING()
Expand Down

0 comments on commit 62fbe1f

Please sign in to comment.