CMakeLists.txt 428 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
project("extensions_demo_pfc")
cmake_minimum_required(VERSION 2.8)

find_package(AMDIS REQUIRED)

if(AMDIS_FOUND)
	message("amdis was found\n")
	include(${AMDIS_USE_FILE})
	SET(BASIS_LIBS ${AMDIS_LIBRARIES})
endif(AMDIS_FOUND)

set(pfc src/pfc.cc)
add_executable("pfc" ${pfc})
target_link_libraries("pfc" ${BASIS_LIBS})

set(pfc_rb src/pfc_rb.cc)
add_executable("pfc_rb" ${pfc_rb})
target_link_libraries("pfc_rb" ${BASIS_LIBS})