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

project(TestLegacyPerl CXX)

include(CTest)

if(NOT DEFINED language)
  set(language "perl")
endif()

include (../LegacyConfiguration.cmake)

add_test (NAME LegacyPerl
  COMMAND "${PERL_EXECUTABLE}" "-I${CMAKE_CURRENT_BINARY_DIR}"
                               "-I$<TARGET_FILE_DIR:${SWIG_MODULE_example_REAL_NAME}>"
  "${CMAKE_CURRENT_SOURCE_DIR}/../runme.pl")