Skip to content

Commit

Permalink
Added default build type in cmake project.
Browse files Browse the repository at this point in the history
  • Loading branch information
igormironchik committed May 19, 2017
1 parent 6646da2 commit e31b6d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

cmake_minimum_required( VERSION 2.8.11 )

if( NOT CMAKE_BUILD_TYPE )
set( CMAKE_BUILD_TYPE "Release"
CACHE STRING "Choose the type of build."
FORCE)
endif( NOT CMAKE_BUILD_TYPE )

SET( CMAKE_CXX_STANDARD 14 )

SET( CMAKE_CXX_STANDARD_REQUIRED ON )
Expand Down

0 comments on commit e31b6d3

Please sign in to comment.