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

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")