CMakeLists.txt 468 Bytes
Newer Older
1 2 3 4
project("extensions_demo_pfc")
cmake_minimum_required(VERSION 2.8)

find_package(AMDIS REQUIRED)
Praetorius, Simon's avatar
Praetorius, Simon committed
5
include(${AMDIS_USE_FILE})
6

Praetorius, Simon's avatar
Praetorius, Simon committed
7
add_definitions(-DUSE_MTL=1)
8 9 10

set(pfc src/pfc.cc)
add_executable("pfc" ${pfc})
Praetorius, Simon's avatar
Praetorius, Simon committed
11
target_link_libraries("pfc" ${AMDIS_LIBRARIES})
12 13 14

set(pfc_rb src/pfc_rb.cc)
add_executable("pfc_rb" ${pfc_rb})
Praetorius, Simon's avatar
Praetorius, Simon committed
15
target_link_libraries("pfc_rb" ${AMDIS_LIBRARIES})
16 17 18

set(vpfc src/vpfc.cc)
add_executable("vpfc" ${vpfc})
Praetorius, Simon's avatar
Praetorius, Simon committed
19
target_link_libraries("vpfc" ${AMDIS_LIBRARIES})