cleaned cmake config
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@986 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
db913f147a
commit
8e66443dc4
1 changed files with 1 additions and 19 deletions
|
|
@ -1,11 +1,4 @@
|
|||
SET(CMAKE_DEFAULT_BUILD_TYPE Debug CACHE STRING "Variable that stores the default CMake build type" FORCE)
|
||||
SET(CMAKE_CXX_FLAGS "-O0 -g")
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
|
||||
SET(CMAKE_CXX_FLAGS_RELEASE "-O0 -g")
|
||||
SET(CMAKE_CXX_FLAGS_MINSIZEREL "-O0 -g")
|
||||
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 -g")
|
||||
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${XML2_CFLAGS}")
|
||||
######################################################################################
|
||||
### 0) Set the compiler
|
||||
######################################################################################
|
||||
|
|
@ -20,12 +13,11 @@ SET (CMAKE_CXX_COMPILER mpicxx)
|
|||
######################################################################################
|
||||
|
||||
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src)
|
||||
#INCLUDE_DIRECTORIES(${XML2_CFLAGS_WITH_WHITESPACE})
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${XML2_CFLAGS}")
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 2) Define your target(s): just the rmc_mpi library here
|
||||
######################################################################################
|
||||
|
|
@ -54,7 +46,6 @@ ADD_DEPENDENCIES(rmc_mpi peo)
|
|||
######################################################################################
|
||||
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 3) Optionnal: define your lib version:
|
||||
######################################################################################
|
||||
|
|
@ -63,12 +54,3 @@ SET(RMC_MPI_VERSION ${GLOBAL_VERSION})
|
|||
SET_TARGET_PROPERTIES(rmc_mpi PROPERTIES VERSION "${RMC_MPI_VERSION}")
|
||||
######################################################################################
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 4) Link the librairies for your target(s)
|
||||
######################################################################################
|
||||
|
||||
# No library required
|
||||
|
||||
######################################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue