cisst-saw
Loading...
Searching...
No Matches
cisstConfig.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4/*
5 Author(s): Anton Deguet
6 Created on: 2004-02-18
7
8 (C) Copyright 2004-2026 Johns Hopkins University (JHU), All Rights Reserved.
9
10--- begin cisst license - do not edit ---
11
12This software is provided "as is" under an open source license, with
13no warranty. The complete license can be found in license.txt and
14http://www.cisst.org/cisst/license.txt.
15
16--- end cisst license ---
17*/
18
19#pragma once
20
21#ifndef _cisstConfig_h
22#define _cisstConfig_h
23
24// cisst version
25#define cisst_VERSION_MAJOR 1
26#define cisst_VERSION_MINOR 5
27#define cisst_VERSION_PATCH 0
28#define cisst_VERSION "1.5.0"
29
30// Deprecated paths/macros
31#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
32#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
33#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
34
35// shared library prefix/suffix
36#define CISST_SHARED_LIBRARY_PREFIX "lib"
37#define CISST_SHARED_LIBRARY_SUFFIX ".dylib"
38
39// executable suffix
40#define CISST_EXECUTABLE_SUFFIX ""
41
42// Was cisst compiled as shared libraries or static
43#define CISST_BUILD_SHARED_LIBS 0
44
45// For MSVC, CMake generator assumes either 32 or 64 bits compiler
46#define CISST_CMAKE_COMPILER_IS_MSVC_64 0
47
48// To allow overloading of functions for size_t
49#define CISST_SIZE_T_NATIVE 0
50
51// To allow overloading of functions for long long (and unsigned long long)
52#define CISST_LONG_LONG_NATIVE 1
53
54// Can we use cmath std::isnan
55#define CISST_HAS_STD_ISNAN 1
56
57// Can we use cmath std::isfinite
58#define CISST_HAS_STD_ISFINITE 1
59
60// Do we have isfinite global function
61#define CISST_HAS_ISFINITE 1
62
63// RTAI Realtime extension for Linux
64#define CISST_HAS_LINUX_RTAI 0
65
66// Xenomai Realtime extension for Linux
67#define CISST_HAS_LINUX_XENOMAI 0
68
69// Using XML or not
70#define CISST_HAS_XML 1
71
72// Using IRE (and Swig/Python) or not
73#define CISST_HAS_IRE 0
74
75// Using FLTK (deprecated)
76#define CISST_HAS_FLTK 0
77
78// Using Qt4 (deprecated)
79#define CISST_HAS_QT4 0
80
81// Using Qt5 or not
82#define CISST_HAS_QT5 0
83
84// Using Qt6 or not
85#define CISST_HAS_QT6 1
86
87// Using QtNodes or not
88#define CISST_HAS_QTNODES 1
89
90// Any version of Qt
91#define CISST_HAS_QT 1
92
93// Using OpenGL or not
94#define CISST_HAS_OPENGL 1
95
96// Using IOS or not
97#define CISST_HAS_IOS 0
98
99// Using JSonCpp, compiled along cisst
100#ifndef CISST_SKIP_JSON // for cisst data generator
101#define CISST_HAS_JSON 1
102#endif
103
104// Using SI units (ie meters) or mm for distances
105#define CISST_USE_SI_UNITS 1
106
107#endif // _cisstConfig_h