blob: f3d9e2b2e80934bc9356c5763fb314d93501368d [file] [log] [blame]
set(language "python")
include (LegacyConfiguration.cmake)
add_custom_target (RunPython
COMMAND "${CMAKE_COMMAND}" -E env "PYTHONPATH=$<TARGET_FILE_DIR:${SWIG_MODULE_example_REAL_NAME}>"
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/runme.py"
DEPENDS ${SWIG_MODULE_example_REAL_NAME})