Add Peo for patch
This commit is contained in:
parent
9d867cb9fa
commit
bbe39c4869
185 changed files with 18909 additions and 0 deletions
37
peo/tutorial/Lesson5/CMakeLists.txt
Normal file
37
peo/tutorial/Lesson5/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
|
||||
######################################################################################
|
||||
### 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/Lesson5/param ${ParadisEO-PEO_SOURCE_DIR}/tutorial/Lesson5/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 ${MO_SRC_DIR}/src ${PEO_SRC_DIR}/src)
|
||||
|
||||
######################################################################################
|
||||
### 3) Define your target(s): just an executable here
|
||||
######################################################################################
|
||||
|
||||
add_executable(island main.cpp)
|
||||
|
||||
######################################################################################
|
||||
### 5) Link the librairies
|
||||
######################################################################################
|
||||
|
||||
target_link_libraries(island eo ga es xml2 peo rmc_mpi eoutils peo)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue