CMakeLists.txt 321 Bytes
Newer Older
Jaime Arias's avatar
Jaime Arias committed
1
2
3
4
5
6
7
8
9
10
11
12
13
# set minimum cmake version
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

# project name and language
project(pn-parser-test LANGUAGES CXX)

# testing library
add_executable(RdPtest test.cpp)
target_link_libraries(RdPtest RdP)

# Add test
add_test(
  NAME tests
14
  WORKING_DIRECTORY ${EXAMPLES_DIR}
Jaime Arias's avatar
Jaime Arias committed
15
16
  COMMAND RdPtest
)