Add the SMP module
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2714 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
409a1b21b8
commit
0890c67d31
43 changed files with 4030 additions and 41 deletions
29
trunk/smp/tutorial/Lesson1/CMakeLists.txt
Normal file
29
trunk/smp/tutorial/Lesson1/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Lesson 1
|
||||
|
||||
######################################################################################
|
||||
### 0) Define files
|
||||
######################################################################################
|
||||
|
||||
set(files
|
||||
lesson1_eoEasyEA
|
||||
)
|
||||
|
||||
######################################################################################
|
||||
### 1) Create the lesson
|
||||
######################################################################################
|
||||
|
||||
add_lesson(smp Lesson1 "${files}")
|
||||
|
||||
######################################################################################
|
||||
### 2) Include dependencies
|
||||
######################################################################################
|
||||
|
||||
include_directories(${EO_SRC_DIR}/src
|
||||
${SMP_SRC_DIR}/src
|
||||
${PROBLEMS_SRC_DIR})
|
||||
|
||||
|
||||
execute_process(
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/lesson1_data.dat
|
||||
${CMAKE_CURRENT_BINARY_DIR}/lesson1_data.dat)
|
||||
Loading…
Add table
Add a link
Reference in a new issue