cmake: cleanup, build type for nf2ff
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/13/head
parent
c124255a8a
commit
dae788a2a4
|
@ -172,5 +172,4 @@ TARGET_LINK_LIBRARIES( openEMS
|
|||
INSTALL( TARGETS openEMS DESTINATION bin )
|
||||
|
||||
INSTALL( DIRECTORY matlab DESTINATION share/openEMS )
|
||||
|
||||
# TODO mpi, tarball, debug, release
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
INCLUDE_DIRECTORIES( ${openEMS_SOURCE_DIR} )
|
||||
INCLUDE_DIRECTORIES( ${CSXCAD_SOURCE_DIR}/src )
|
||||
|
||||
set( SOURCES
|
||||
engine_interface_base.cpp
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
INCLUDE_DIRECTORIES( ${openEMS_SOURCE_DIR} )
|
||||
INCLUDE_DIRECTORIES( ${CSXCAD_SOURCE_DIR}/src )
|
||||
|
||||
set(SOURCES
|
||||
engine.cpp
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue