mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
UseSWIG: modernize module
This commit is contained in:
9
Tests/RunCMake/UseSWIG/BasicPython.cmake
Normal file
9
Tests/RunCMake/UseSWIG/BasicPython.cmake
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
set(language "python")
|
||||
|
||||
include (BasicConfiguration.cmake)
|
||||
|
||||
add_custom_target (RunTest
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "PYTHONPATH=$<TARGET_FILE_DIR:example>"
|
||||
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/runme.py"
|
||||
DEPENDS example)
|
||||
Reference in New Issue
Block a user