cmake: cleanup, build type for nf2ff

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/13/head
Thorsten Liebig 2014-10-09 21:06:36 +02:00
parent c124255a8a
commit dae788a2a4
4 changed files with 7 additions and 3 deletions

View File

@ -172,5 +172,4 @@ TARGET_LINK_LIBRARIES( openEMS
INSTALL( TARGETS openEMS DESTINATION bin )
INSTALL( DIRECTORY matlab DESTINATION share/openEMS )
# TODO mpi, tarball, debug, release

View File

@ -1,6 +1,5 @@
INCLUDE_DIRECTORIES( ${openEMS_SOURCE_DIR} )
INCLUDE_DIRECTORIES( ${CSXCAD_SOURCE_DIR}/src )
set( SOURCES
engine_interface_base.cpp

View File

@ -1,6 +1,5 @@
INCLUDE_DIRECTORIES( ${openEMS_SOURCE_DIR} )
INCLUDE_DIRECTORIES( ${CSXCAD_SOURCE_DIR}/src )
set(SOURCES
engine.cpp

View File

@ -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(nf2ff CXX)
cmake_minimum_required(VERSION 2.8)