Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
yet another example: actor-suspend.py
[simgrid.git] / examples / python / CMakeLists.txt
index 8c014b0..367f795 100644 (file)
@@ -1,4 +1,5 @@
-foreach(example actor-create actor-yield exec-basic)
+foreach(example actor-create actor-join actor-migrate actor-suspend actor-yield 
+                exec-basic)
   set(tesh_files    ${tesh_files}   ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.tesh)
   set(examples_src  ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py)
 
@@ -7,9 +8,11 @@ foreach(example actor-create actor-yield exec-basic)
                                --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
                               --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
                               --setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
+                              --cd ${CMAKE_CURRENT_SOURCE_DIR}/${example}
                                ${CMAKE_HOME_DIRECTORY}/examples/python/${example}/${example}.tesh)
   endif()
 endforeach()
 
-set(tesh_files    ${tesh_files}    PARENT_SCOPE)
+set(tesh_files    examples/python/actor-create/actor-create_d.xml
+                  ${tesh_files}    PARENT_SCOPE)
 set(examples_src  ${examples_src}  PARENT_SCOPE)