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

project(TestBasicPerl CXX)

include(CTest)

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

include (../BasicConfiguration.cmake)

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