Define new paths to the module sources and the module library.
This commit is contained in:
parent
9be0bd9711
commit
dea830da01
2 changed files with 28 additions and 13 deletions
|
|
@ -62,6 +62,7 @@ set( MO_SRC_DIR "${CMAKE_SOURCE_DIR}/mo" CACHE INTERNAL "ParadisEO-MO sourc
|
|||
set( MOEO_SRC_DIR "${CMAKE_SOURCE_DIR}/moeo" CACHE INTERNAL "ParadisEO-MOEO source directory" FORCE)
|
||||
set( SMP_SRC_DIR "${CMAKE_SOURCE_DIR}/smp" CACHE INTERNAL "ParadisEO-SMP source directory" FORCE)
|
||||
set( MPI_SRC_DIR "${CMAKE_SOURCE_DIR}/eo/src/mpi" CACHE INTERNAL "ParadisEO-MPI source directory" FORCE)
|
||||
set(EOSERIAL_SRC_DIR "${CMAKE_SOURCE_DIR}/eoserial" CACHE INTERNAL "ParadisEO-EOSERIAL source directory" FORCE)
|
||||
|
||||
set(PROBLEMS_SRC_DIR "${CMAKE_SOURCE_DIR}/problems" CACHE INTERNAL "Problems dependant source directory" FORCE)
|
||||
|
||||
|
|
@ -74,6 +75,7 @@ set( MO_BIN_DIR "${CMAKE_BINARY_DIR}" CACHE INTERNAL "ParadisEO-MO binary dir
|
|||
set( MOEO_BIN_DIR "${CMAKE_BINARY_DIR}" CACHE INTERNAL "ParadisEO-MOEO binary directory" FORCE)
|
||||
set( SMP_BIN_DIR "${CMAKE_BINARY_DIR}" CACHE INTERNAL "ParadisEO-SMP binary directory" FORCE)
|
||||
set( MPI_BIN_DIR "${CMAKE_BINARY_DIR}" CACHE INTERNAL "ParadisEO-MPI binary directory" FORCE)
|
||||
set(EOSERIAL_BIN_DIR "${CMAKE_BINARY_DIR}" CACHE INTERNAL "ParadisEO-EOSERIAL binary directory" FORCE)
|
||||
|
||||
|
||||
set(EO_ONLY "false" CACHE BOOL "Only build EO and not the other modules")
|
||||
|
|
@ -123,6 +125,13 @@ if(NOT EO_ONLY)
|
|||
include_directories(${MPI_INCLUDE_PATH})
|
||||
add_subdirectory(${MPI_SRC_DIR})
|
||||
endif()
|
||||
|
||||
## EOSERIAL Module
|
||||
#if(EOSERIAL)
|
||||
set(EOSERIAL_MODULE_NAME "Serialization Module")
|
||||
set(CMAKE_SOURCE_DIR ${EOSERIAL_SRC_DIR})
|
||||
add_subdirectory(${EOSERIAL_SRC_DIR})
|
||||
#endif()
|
||||
endif()
|
||||
|
||||
######################################################################################
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
######################################################################################
|
||||
### Include subdirectories
|
||||
######################################################################################
|
||||
|
||||
#add_subdirectory(doc)
|
||||
add_subdirectory(src)
|
||||
Loading…
Reference in a new issue