forked from jhu-cisst/cisst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cisstConfig.h.in
98 lines (68 loc) · 2.91 KB
/
cisstConfig.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
97
98
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
/*
Author(s): Anton Deguet
Created on: 2004-02-18
(C) Copyright 2004-2018 Johns Hopkins University (JHU), All Rights Reserved.
--- begin cisst license - do not edit ---
This software is provided "as is" under an open source license, with
no warranty. The complete license can be found in license.txt and
http://www.cisst.org/cisst/license.txt.
--- end cisst license ---
*/
#pragma once
#ifndef _cisstConfig_h
#define _cisstConfig_h
// cisst version
#define CISST_VERSION_MAJOR ${CISST_VERSION_MAJOR}
#define CISST_VERSION_MINOR ${CISST_VERSION_MINOR}
#define CISST_VERSION_PATCH ${CISST_VERSION_PATCH}
#define CISST_VERSION "${CISST_VERSION}"
// Deprecated paths/macros
#define CISST_SOURCE_ROOT CISST_SOURCE_ROOT_is_deprecated_use_CISST_ROOT_and_cmnPath_instead__See_https_trac_dot_lcsr_dot_jhu_dot_edu_slash_cisst_slash_wiki_slash_UsingCMake
#define CISST_BUILD_ROOT CISST_BUILD_ROOT_is_deprecated_use_CISST_ROOT_and_cmnPath_instead__See_https_trac_dot_lcsr_dot_jhu_dot_edu_slash_cisst_slash_wiki_slash_UsingCMake
#define CISST_BUILD_LINK_DIRECTORIES CISST_BUILD_LINK_DIRECTORIES_is_deprecated_use_CISST_ROOT_and_cmnPath_instead__See_https_trac_dot_lcsr_dot_jhu_dot_edu_slash_cisst_slash_wiki_slash_UsingCMake
// shared library prefix/suffix
#define CISST_SHARED_LIBRARY_PREFIX "${CMAKE_SHARED_LIBRARY_PREFIX}"
#define CISST_SHARED_LIBRARY_SUFFIX "${CMAKE_SHARED_LIBRARY_SUFFIX}"
// executable suffix
#define CISST_EXECUTABLE_SUFFIX "${CMAKE_EXECUTABLE_SUFFIX}"
// Was cisst compiled as shared libraries or static
#cmakedefine01 CISST_BUILD_SHARED_LIBS
// For MSVC, CMake generator assumes either 32 or 64 bits compiler
#cmakedefine01 CISST_CMAKE_COMPILER_IS_MSVC_64
// To allow overloading of functions for size_t
#cmakedefine01 CISST_SIZE_T_NATIVE
// Can we use cmath std::isnan
#cmakedefine01 CISST_HAS_STD_ISNAN
// Can we use cmath std::isfinite
#cmakedefine01 CISST_HAS_STD_ISFINITE
// Do we have isfinite global function
#cmakedefine01 CISST_HAS_ISFINITE
// RTAI Realtime extension for Linux
#cmakedefine01 CISST_HAS_LINUX_RTAI
// Xenomai Realtime extension for Linux
#cmakedefine01 CISST_HAS_LINUX_XENOMAI
// Using XML or not
#cmakedefine01 CISST_HAS_XML
// Using IRE (and Swig/Python) or not
#cmakedefine01 CISST_HAS_IRE
// Using FLTK or not
#cmakedefine01 CISST_HAS_FLTK
// Using Qt4 or not
#cmakedefine01 CISST_HAS_QT4
// Using Qt5 or not
#cmakedefine01 CISST_HAS_QT5
// Any version of Qt
#cmakedefine01 CISST_HAS_QT
// Using OpenGL or not
#cmakedefine01 CISST_HAS_OPENGL
// Using IOS or not
#cmakedefine01 CISST_HAS_IOS
// Using JSonCpp, compiled along cisst
#ifndef CISST_SKIP_JSON // for cisst data generator
#cmakedefine01 CISST_HAS_JSON
#endif
// Using SI units (ie meters) or mm for distances
#cmakedefine01 CISST_USE_SI_UNITS
#endif // _cisstConfig_h