CMakeLists.txt 1.58 KB
Newer Older
Tobias WEBER's avatar
Tobias WEBER committed
1
2
#
# @author Tobias Weber <tweber@ill.fr>
Tobias WEBER's avatar
Tobias WEBER committed
3
# @date 17-jun-2019
Tobias WEBER's avatar
Tobias WEBER committed
4
5
# @license see 'LICENSE' file
#
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ----------------------------------------------------------------------------
# mag-core (part of the Takin software suite)
# Copyright (C) 2018-2021  Tobias WEBER (Institut Laue-Langevin (ILL),
#                          Grenoble, France).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# 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
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
# ----------------------------------------------------------------------------
#
Tobias WEBER's avatar
Tobias WEBER committed
24

Tobias WEBER's avatar
Tobias WEBER committed
25
project(magtools)
Tobias WEBER's avatar
Tobias WEBER committed
26
27
cmake_minimum_required(VERSION 3.0)

Tobias WEBER's avatar
Tobias WEBER committed
28
option(ONLY_BUILD_FINISHED "only build finished tools" TRUE)
Tobias WEBER's avatar
Tobias WEBER committed
29
30


Tobias WEBER's avatar
Tobias WEBER committed
31
32
# cif converter
add_subdirectory(tools/cif2xml)
Tobias WEBER's avatar
Tobias WEBER committed
33

Tobias WEBER's avatar
Tobias WEBER committed
34
35
# polarisation tools
add_subdirectory(tools/pol)
Tobias WEBER's avatar
Tobias WEBER committed
36

Tobias WEBER's avatar
Tobias WEBER committed
37
38
39
# nuclear and magnetic structure factors
add_subdirectory(tools/structfact)
add_subdirectory(tools/magstructfact)
40

Tobias WEBER's avatar
Tobias WEBER committed
41
42
# molecular dynamics tools
add_subdirectory(tools/moldyn)
43

Tobias WEBER's avatar
Tobias WEBER committed
44
45
46
47
48
# new scan browser tool
add_subdirectory(tools/scanbrowser)


if(NOT ONLY_BUILD_FINISHED)
49
50
51
52
53
	# setup tools
	add_subdirectory(tools/setup)

	# magnetic structure factor browser
	add_subdirectory(tools/magsgbrowser)
Tobias WEBER's avatar
Tobias WEBER committed
54
endif()