X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8937f1426cc4c3bbe77178ce3a9cdc0687263a8e..2abb6075dc0d61d792c5b78900b1afad36db715c:/examples/python/CMakeLists.txt diff --git a/examples/python/CMakeLists.txt b/examples/python/CMakeLists.txt index 01121601a0..bbf438665c 100644 --- a/examples/python/CMakeLists.txt +++ b/examples/python/CMakeLists.txt @@ -1,12 +1,13 @@ -foreach(example exec-basic) +foreach(example actor-create 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) if(enable_python) - ADD_TESH(python-${example} --setenv srcdir=${example} + ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example} --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()