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

#find_package(AMDIS REQUIRED COMPONENTS umfpack )
Praetorius, Simon's avatar
Praetorius, Simon committed
5
find_package(AMDIS REQUIRED PARALLEL)
6

7
8
set(ch src/cahnHilliard.cc)
add_executable("ch" ${ch})
Praetorius, Simon's avatar
Praetorius, Simon committed
9
target_link_libraries("ch" AMDiS)
10
11
12

set(ch_dd src/cahnHilliard_dd.cc src/CahnHilliard_DD.cc)
add_executable("ch_dd" ${ch_dd})
Praetorius, Simon's avatar
Praetorius, Simon committed
13
target_link_libraries("ch_dd" AMDiS)
14

15
16
set(ch_shell src/cahnHilliard_shell.cc)
add_executable("ch_shell" ${ch_shell})
Praetorius, Simon's avatar
Praetorius, Simon committed
17
target_link_libraries("ch_shell" AMDiS)