Add Peo for patch

This commit is contained in:
quemy 2012-11-03 15:45:03 +01:00
commit bbe39c4869
185 changed files with 18909 additions and 0 deletions

View file

@ -0,0 +1,35 @@
######################################################################################
### 0) Set the compiler and define targets to easily run the lessons
######################################################################################
set(CMAKE_CXX_COMPILER mpicxx)
#ADD_CUSTOM_TARGET(install DEPENDS ${ParadisEO-PEO_SOURCE_DIR}/tutorial/Lesson2/param ${ParadisEO-PEO_SOURCE_DIR}/tutorial/Lesson2/schema.xml)
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/param
${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/schema.xml
${CMAKE_CURRENT_BINARY_DIR}
)
######################################################################################
### 1) Include the sources
######################################################################################
include_directories(${EO_SRC_DIR}/src ${MOEO_SRC_DIR}/src ${OLDMO_SRC_DIR}/src ${MO_SRC_DIR}/src ${PEO_SRC_DIR}/src)
######################################################################################
### 3) Define your target(s): just an executable here
######################################################################################
add_executable(multistartGA main.cpp)
######################################################################################
### 5) Link the librairies
######################################################################################
target_link_libraries(multistartGA xml2 peo rmc_mpi eo eoutils peo)