CMakeLists.txt 716 Bytes
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
6
# @license see 'LICENSE' file
#

Tobias WEBER's avatar
Tobias WEBER committed
7
project(magtools)
Tobias WEBER's avatar
Tobias WEBER committed
8
9
cmake_minimum_required(VERSION 3.0)

Tobias WEBER's avatar
Tobias WEBER committed
10
option(ONLY_BUILD_FINISHED "only build finished tools" FALSE)
Tobias WEBER's avatar
Tobias WEBER committed
11
12


Tobias WEBER's avatar
Tobias WEBER committed
13
14
if(ONLY_BUILD_FINISHED)
	# final tools
Tobias WEBER's avatar
Tobias WEBER committed
15

Tobias WEBER's avatar
Tobias WEBER committed
16
17
	# cif converter
	add_subdirectory(tools/cif2xml)
Tobias WEBER's avatar
Tobias WEBER committed
18

Tobias WEBER's avatar
Tobias WEBER committed
19
20
	# polarisation tools
	add_subdirectory(tools/pol)
Tobias WEBER's avatar
Tobias WEBER committed
21

Tobias WEBER's avatar
Tobias WEBER committed
22
23
else()
	# unfinished tools
Tobias WEBER's avatar
Tobias WEBER committed
24

Tobias WEBER's avatar
Tobias WEBER committed
25
26
	# setup tools
	add_subdirectory(tools/setup)
Tobias WEBER's avatar
Tobias WEBER committed
27

Tobias WEBER's avatar
Tobias WEBER committed
28
29
30
31
	# magnetic and nuclear structure tools
	add_subdirectory(tools/structfact)
	add_subdirectory(tools/magstructfact)
	add_subdirectory(tools/magsgbrowser)
32

Tobias WEBER's avatar
Tobias WEBER committed
33
34
	# molecular dynamics tools
	add_subdirectory(tools/moldyn)
35

Tobias WEBER's avatar
Tobias WEBER committed
36
37
38
	# new scan browser tool
	add_subdirectory(tools/scanbrowser)
endif()