You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
6 years ago
|
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")
|