commit last state
[ppam-mpi.git] / code / test / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8.5)
2 project(ppam_mpi_tests)
3
4 include("${CMAKE_SOURCE_DIR}/../shared_CMakeLists.txt")
5
6 #ppam tests
7
8 include_directories("${CMAKE_SOURCE_DIR}/../src")
9
10 file(GLOB_RECURSE test_ppam_src "${CMAKE_SOURCE_DIR}/*.c")
11 add_executable(test_ppam.exe ${test_ppam_src})
12 find_library(PPAM_LIBRARY ppam "${CMAKE_BINARY_DIR}")
13 #TODO: Rblas ?!
14 target_link_libraries(test_ppam.exe m cds ${PPAM_LIBRARY})