CMakeLists.txt 649 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
project("cahn_hilliard_demo")
cmake_minimum_required(VERSION 2.8)

#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)
    
set(ch src/cahnHilliard.cc)
add_executable("ch" ${ch})
target_link_libraries("ch" ${BASIS_LIBS})

set(ch_dd src/cahnHilliard_dd.cc src/CahnHilliard_DD.cc)
add_executable("ch_dd" ${ch_dd})
target_link_libraries("ch_dd" ${BASIS_LIBS})
    
set(ch_shell src/cahnHilliard_shell.cc)
add_executable("ch_shell" ${ch_shell})
target_link_libraries("ch_shell" ${BASIS_LIBS})