-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDTIPlaygroundTools.cmake
87 lines (69 loc) · 3.94 KB
/
DTIPlaygroundTools.cmake
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
cmake_minimum_required(VERSION 2.8)
CMAKE_POLICY(VERSION 2.8)
set(INSTALL_RUNTIME_DESTINATION dtiplayground-tools)
set(INSTALL_LIBRARY_DESTINATION dtiplayground-tools)
set(INSTALL_ARCHIVE_DESTINATION lib/static)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
set(DTIPlayGroundToolsVersion 0.0.1)
set(DTI-RegPath DTI-Reg/bin/DTI-Reg)
set(dtiaveragePath DTIProcess/bin/dtiaverage)
set(dtiprocessPath DTIProcess/bin/dtiprocess)
set(GreedyAtlasPath AtlasWerks/GreedyAtlas)
set(GreedyWarp AtlasWerks/GreedyWarp)
set(unuPath teem/bin/unu)
set(CropDTIPath niral_utilities/bin/CropDTI)
set(ImageMathPath niral_utilities/bin/ImageMath)
set(BRAINSFitPath BRAINSTools/bin/BRAINSFit)
set(ResampleDTIlogEuclideanPath ResampleDTIlogEuclidean/bin/ResampleDTIlogEuclidean)
set(ITKTransformToolsPath ITKTransformTools/bin/ITKTransformTools)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/DTIPlaygroundToolPaths.yml.in ${CMAKE_INSTALL_PREFIX}/${INSTALL_RUNTIME_DESTINATION}/software_paths.yml)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/DTIPlaygroundToolInfo.yml.in ${CMAKE_INSTALL_PREFIX}/${INSTALL_RUNTIME_DESTINATION}/info.yml)
install (PROGRAMS ${MriWatcher_BINARY_DIR}/MriWatcher
DESTINATION ${INSTALL_RUNTIME_DESTINATION}
COMPONENT RUNTIME)
install(DIRECTORY ${Trafic_DIR}/../../../ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/Trafic
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${DCMTK_DIR}/../../../ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/DCMTK
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${niral_utilities_BINARY_DIR}/../ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/niral_utilities
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${teem_BINARY_DIR}/../ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/teem
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${ANTs_DIR}/ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/ANTs
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${AtlasWerks_DIR}/ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/AtlasWerks
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${DTI-Reg_DIR}/ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/DTI-Reg
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${DTIProcess_DIR}/ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/DTIProcess
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${BRAINSTools_DIR}/ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/BRAINSTools
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${ResampleDTIlogEuclidean_DIR}/ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/ResampleDTIlogEuclidean
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)
install(DIRECTORY ${ITKTransformTools_DIR}/ # Trailing / ignores parent directory name and just copy sub directories
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/ITKTransformTools
COMPONENT RUNTIME
USE_SOURCE_PERMISSIONS)