summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG/BasicPython/CMakeLists.txt
blob: cf1d8213c7e66386bc0b2615cc4d4b683a4c8d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_minimum_required(VERSION 3.1)

project(TestBasicPython CXX)

include(CTest)

set(language "python")

include (../BasicConfiguration.cmake)

add_test (NAME BasicPython
  COMMAND "${CMAKE_COMMAND}" -E env "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}${PS}$<TARGET_FILE_DIR:example>"
  "${Python_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/../runme.py")