CMakeLists.txt 1.34 KB
Newer Older
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
1
# MigFlow - Copyright (C) <2010-2018>
2
3
# <Universite catholique de Louvain (UCL), Belgium
#  Universite de Montpellier, France>
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
4
# 	
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
5
# List of the contributors to the development of MigFlow: see AUTHORS file.
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
6
7
# Description and complete License: see LICENSE file.
# 	
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
8
# This program (MigFlow) is free software: 
9
# you can redistribute it and/or modify it under the terms of the GNU Lesser General 
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
10
11
12
13
14
15
# Public License as published by the Free Software Foundation, either version
# 3 of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
# GNU Lesser General Public License for more details.
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
17
# 
18
19
# You should have received a copy of the GNU Lesser General Public License
# along with this program (see COPYING and COPYING.LESSER files).  If not, 
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
20
21
# see <http://www.gnu.org/licenses/>.

Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
22
23

set(SRC
Michel Henry's avatar
Michel Henry committed
24
25
  file_reader.c
  gmsh_mesh.c
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
26
  fluid_problem.c
Jonathan Lambrechts's avatar
broken    
Jonathan Lambrechts committed
27
  fluid_problem_concentration.c
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
28
29
  mesh.c
  mesh_find.c
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
30
  ../tools/quadtree.c
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
31
32
)

Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
33
include_directories(. ${CMAKE_SOURCE_DIR}/tools ${EXTERNAL_INCLUDES})
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
34
35
36
37
38
add_library(mbfluid2 SHARED ${SRC})
target_compile_definitions(mbfluid2 PUBLIC "-DDIMENSION=2")
add_library(mbfluid3 SHARED ${SRC})
target_compile_definitions(mbfluid3 PUBLIC "-DDIMENSION=3")