forked from OpenGATE/Gate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GateConfiguration.h.in
67 lines (53 loc) · 2.17 KB
/
GateConfiguration.h.in
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
/* GATE : configuration file */
#ifndef GATE_CONFIGURATION_H
#define GATE_CONFIGURATION_H
//This file is interpreted by cmake, to define macros based on the cmake configuration options
// Check : GATE_ANALYSIS_USE_FILE = @GATE_ANALYSIS_USE_FILE@
#cmakedefine GATE_USE_ROOT @GATE_USE_ROOT@
#cmakedefine GATE_USE_OPTICAL @GATE_USE_OPTICAL@
#cmakedefine GATE_USE_XRAYLIB @GATE_USE_XRAYLIB@
#cmakedefine GATE_ANALYSIS_USE_GENERAL @GATE_ANALYSIS_USE_GENERAL@
#cmakedefine GATE_ANALYSIS_USE_FILE @GATE_ANALYSIS_USE_FILE@
#cmakedefine GATE_USE_LMF @GATE_USE_LMF@
#cmakedefine GATE_USE_ECAT7 @GATE_USE_ECAT7@
#cmakedefine GATE_USE_GEANT4_UIVIS @GATE_USE_GEANT4_UIVIS@
#cmakedefine GATE_USE_RTK @GATE_USE_RTK@
#cmakedefine GATE_USE_ITK @GATE_USE_ITK@
#cmakedefine GATE_USE_DAVIS @GATE_USE_DAVIS@
#cmakedefine GATE_USE_TORCH @GATE_USE_TORCH@
#ifdef GATE_USE_ROOT
#define G4ANALYSIS_USE_ROOT 1
#endif
#ifdef GATE_USE_GEANT4_UIVIS
#define G4VIS_USE 1
#define G4UI_USE 1
#endif
#ifdef GATE_ANALYSIS_USE_GENERAL
#define G4ANALYSIS_USE_GENERAL 1
#endif
#ifdef GATE_ANALYSIS_USE_FILE
#define G4ANALYSIS_USE_FILE 1
#endif
//#define G4VERSION ${Geant4_VERSION}
#define G4VERSION_MAJOR ${G4VERSION_MAJOR}
#define G4VERSION_MINOR ${G4VERSION_MINOR}
#define G4VERSION_PATCH ${G4VERSION_PATCH}
#cmakedefine GATE_USE_GPU @GATE_USE_GPU@
#cmakedefine CUDA_FOUND @CUDA_FOUND@
#ifndef G4VERSION_MINOR
#define G4VERSION_MINOR 0
#endif
#ifndef G4VERSION_PATCH
#define G4VERSION_PATCH 0
#endif
// WARNING : Replace all G4VERSION_3 and other with a correct test
#if (G4VERSION_MAJOR > 9) || ((G4VERSION_MAJOR==9) && (G4VERSION_MINOR >=3))
#define G4VERSION9_3 1
#endif
// WARNING : Replace all G4VERSION_3 and other with a correct test
#if (G4VERSION_MAJOR > 9) || ((G4VERSION_MAJOR==9) && (G4VERSION_MINOR >=6))
#define Geant496_COMPATIBILITY 1
#endif
#cmakedefine GATE_USE_OPENGL @GATE_USE_OPENGL@
#define UNUSED(x) (void)(x)
#endif // GATE_CONFIGURATION_H