-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
37 lines (33 loc) · 1.49 KB
/
CMakeLists.txt
File metadata and controls
37 lines (33 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# OpenCMISS (Open Continuum Mechanics, Imaging, Signal processing and System identification)
# is a mathematical modelling environment that enables the application of finite element
# analysis techniques to a variety of complex bioengineering problems.
#
# The OpenCMISS project website can be found at http://www.opencmiss.org
# For more information see http://www.opencmiss.org/documentation
# Include the OpenCMISS initalisation & macro definition file.
include(../OpenCMISS.cmake)
# Project setup
# -------------
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
project(OpenCMISS-Example VERSION 1.0 LANGUAGES Fortran C)
enable_testing()
# Find OpenCMISS
# --------------
#
# This call tries to find a matching OpenCMISS (SDK) installation for your (default) Toolchain and MPI choice.
# Currently available OpenCMISS package components: Iron Zinc
# Requiring Iron will also include the iron_c bindings target if available.
#
# This function creates a link target 'opencmiss' that contains references to the requested OpenCMISS components.
# For Iron, it also adds the necessary MPI information - no further find_package(MPI ..) and setting of extra include
# paths needed!
find_package(OpenCMISS 1.1 REQUIRED COMPONENTS Iron CONFIG)
# CMake application code
# ----------------------
if (CMAKE_Fortran_COMPILER)
add_subdirectory(Bidomain)
add_subdirectory(Monodomain)
add_subdirectory(Monodomain_Shiqiang)
add_subdirectory(MonodomainTP06)
add_subdirectory(MonodomainBuenoOrovio)
endif()