cmake: add build types
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/13/head
parent
8b687f541c
commit
c124255a8a
|
@ -1,4 +1,11 @@
|
|||
|
||||
# define build type
|
||||
IF( DEFINED CMAKE_BUILD_TYPE )
|
||||
SET( CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "Set to either \"Release\" or \"Debug\"" )
|
||||
ELSE()
|
||||
SET( CMAKE_BUILD_TYPE Release CACHE STRING "Set to either \"Release\" or \"Debug\"" )
|
||||
ENDIF()
|
||||
|
||||
PROJECT(openEMS CXX)
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
|
|
Loading…
Reference in New Issue