forked from InsightSoftwareConsortium/ITK
/
itkConfigure.h.in
96 lines (83 loc) · 3.14 KB
/
itkConfigure.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkConfigure.h.in
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
/*
* here is where system computed values get stored these values should only
* change when the target compile platform changes
*/
/* what byte order */
/* All compilers that support Mac OS X define either __BIG_ENDIAN__ or
__LITTLE_ENDIAN__ to match the endianness of the architecture being
compiled for. This is not necessarily the same as the architecture of
the machine doing the building. In order to support Universal Binaries on
Mac OS X, we prefer those defines to decide the endianness.
On other platform, we use the result of the TRY_RUN. */
#if !defined(__APPLE__)
#cmakedefine CMAKE_WORDS_BIGENDIAN
#ifdef CMAKE_WORDS_BIGENDIAN
#define ITK_WORDS_BIGENDIAN
#endif
#elif defined(__BIG_ENDIAN__)
#define CMAKE_WORDS_BIGENDIAN
#define ITK_WORDS_BIGENDIAN
#endif
/* what threading system are we using */
#cmakedefine CMAKE_USE_PTHREADS
#ifdef CMAKE_USE_PTHREADS
#define ITK_USE_PTHREADS
#endif
#cmakedefine CMAKE_USE_SPROC
#ifdef CMAKE_USE_SPROC
#define ITK_USE_SPROC
#endif
#cmakedefine CMAKE_HP_PTHREADS
#ifdef CMAKE_HP_PTHREADS
#define ITK_HP_PTHREADS
#endif
#cmakedefine CMAKE_USE_WIN32_THREADS
#ifdef CMAKE_USE_WIN32_THREADS
#define ITK_USE_WIN32_THREADS
#endif
#cmakedefine ITK_BUILD_SHARED_LIBS
#ifdef ITK_BUILD_SHARED_LIBS
#define ITKDLL
#else
#define ITKSTATIC
#endif
#cmakedefine CMAKE_NO_STD_NAMESPACE
#cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS
#cmakedefine CMAKE_NO_ANSI_STRING_STREAM
#cmakedefine CMAKE_NO_ANSI_FOR_SCOPE
#cmakedefine ITK_CPP_FUNCTION
#cmakedefine ITK_LEGACY_REMOVE
#cmakedefine ITK_LEGACY_SILENT
#cmakedefine ITK_USE_CONCEPT_CHECKING
#cmakedefine ITK_USE_STRICT_CONCEPT_CHECKING
#cmakedefine ITK_EXPLICIT_INSTANTIATION
#cmakedefine USE_FFTWF
#cmakedefine USE_FFTWD
#cmakedefine ITK_USE_MINC2
#cmakedefine ITK_USE_OPTIMIZED_REGISTRATION_METHODS
#cmakedefine ITK_USE_CONSOLIDATED_MORPHOLOGY
#cmakedefine ITK_USE_TRANSFORM_IO_FACTORIES
#cmakedefine ITK_USE_ORIENTED_IMAGE_DIRECTION
#cmakedefine ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE
#cmakedefine ITK_USE_TEMPLATE_META_PROGRAMMING_LOOP_UNROLLING
#cmakedefine ITK_USE_DEPRECATED_LEVELSET_INTERPOLATION
#cmakedefine ITK_USE_REVIEW
#cmakedefine ITK_SUPPORTS_TEMPLATED_FRIEND_FUNCTION_WITH_TEMPLATE_ARGUMENTS
#cmakedefine ITK_SUPPORTS_TEMPLATED_FRIEND_FUNCTION_WITH_EMPTY_BRACKETS
#cmakedefine ITK_SUPPORTS_TEMPLATED_FRIEND_FUNCTION_WITH_NULL_STRING
#define ITK_VERSION_MAJOR @ITK_VERSION_MAJOR@
#define ITK_VERSION_MINOR @ITK_VERSION_MINOR@
#define ITK_VERSION_PATCH @ITK_VERSION_PATCH@
#define ITK_VERSION_STRING "@ITK_VERSION_STRING@"