Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
python: First working example
[simgrid.git] / examples / python / CMakeLists.txt
1 foreach(example exec-basic)
2   set(tesh_files    ${tesh_files}   ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.tesh)
3   set(examples_src  ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py)
4
5   ADD_TESH(python-${example} --setenv srcdir=${example}
6                              --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
7                              --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
8                              --setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
9                              ${CMAKE_HOME_DIRECTORY}/examples/python/${example}/${example}.tesh)
10 endforeach()