Am Montag, 13. Mai 2022, finden Wartungsarbeiten am Gitlab-Server (Update auf neue Version statt). Der Dienst wird daher am Montag für einige Zeit nicht verfügbar sein.
On Monday, May 13th 2022, the Gitlab server will be updated. The service will therefore not be accessible for some time on Monday.

CMakeLists.txt 477 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
project("amdis_demo")
cmake_minimum_required(VERSION 2.8)

#SET(AMDiS_DIR ../AMDiS)
#find_package(AMDiS REQUIRED COMPONENTS umfpack )
find_package(AMDiS REQUIRED)

if(AMDiS_FOUND)
	message("amdis was found\n")
	include(${AMDiS_USE_FILE})
	SET(BASIS_LIBS ${AMDiS_LIBRARIES})
endif(AMDiS_FOUND)

14
15
16
file(GLOB sources src/*.cc)
foreach(s ${sources})
  get_filename_component(swe ${s} NAME_WE)
Naumann, Andreas's avatar
Naumann, Andreas committed
17
18
  add_executable(${swe} ${s})
  target_link_libraries(${swe} ${BASIS_LIBS})
19
endforeach(s)