/usr/include/OpenMS/config.h.in is in libopenms-dev 1.11.1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | // -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// ==========================================================================
//
// IMPORTANT:
// This is config.h / config.h.in
// Please do ONLY change config.h.in, as config.h is automagically
// created by CMAKE from config.h.in
//
// Use appropriate options to configure instead of changing config.h.
// Changes made in config.h will be lost as soon as you call CMAKE again.
//
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universitaet Berlin 2002-2012.
//
// This software is released under a three-clause BSD license:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// * Neither the name of any author or any participating institution
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
// For a full list of authors, refer to the file AUTHORS.
// --------------------------------------------------------------------------
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
// INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// --------------------------------------------------------------------------
// $Maintainer: Chris Bielow $
// $Authors: $
// --------------------------------------------------------------------------
#ifndef OPENMS_CONFIG_H
#define OPENMS_CONFIG_H
// Here are some global configuration flags for OpenMS
// The path to the directory where OpenMS data is installed
#define OPENMS_DATA_PATH "@CF_OPENMS_DATA_PATH@"
// The path to the directory where OpenMS doc is installed
#define OPENMS_DOC_PATH "@CF_OPENMS_DOC_PATH@"
// The directory where OpenMS is build
#define OPENMS_SOURCE_PATH "@PROJECT_SOURCE_DIR@"
// The directory where the OpenMS sources are located
#define OPENMS_BINARY_PATH "@PROJECT_BINARY_DIR@"
// do we use SVN revision in VersionInfo.C?! [depending on the availability of svnversion(.exe)]
#cmakedefine OPENMS_HAS_SVNVERSION
// Define compiler specifics (used in VERY few places only)
// Microsoft Visual Studio .NET, 2005, 2008
#cmakedefine OPENMS_COMPILER_MSVC
// GNU g++
#cmakedefine OPENMS_COMPILER_GXX
// __PRETTY_FUNCTION__ is a GNU G++ extension. It is used in exceptions to indicate their origin.
#ifndef OPENMS_COMPILER_GXX
#define __PRETTY_FUNCTION__ "<unknown>"
#endif
// OPENMS_ASSERTIONS enables some debugging methods within some OpenMS classes
#ifdef OPENMS_COMPILER_MSVC
// we define this using NDEBUG on MSVC as there are multiple build types simultaneously in the Solution file,
// thus setting one value will not fit them all
# ifndef NDEBUG // hopefully defined automatically by MS-compiler in Debug Mode
# define OPENMS_ASSERTIONS
# endif
#else // linux & Co (only one build type at a time)
# if (@CF_OPENMS_ASSERTIONS@)
# define OPENMS_ASSERTIONS
# endif
#endif
// let Cmake decide if we are using Windows (ie if windows.h is available).
// GCC and MSVC have pre-defined macros for this as well but using -ansi in GCC will disable those, thus asking the compiler is fragile
#ifndef WIN32 //avoid warning of redefinition
#cmakedefine WIN32
#endif
#ifdef WIN32 //should be true on: MinGW (32bit + 64bit) & MSVS compiler
#define OPENMS_WINDOWSPLATFORM 1
#endif
// are we building a shared lib?
#cmakedefine BUILD_SHARED_LIBS
#ifdef OPENMS_WINDOWSPLATFORM
# ifdef BUILD_SHARED_LIBS
# if defined OpenMS_EXPORTS //automatically defined by CMake when building OpenMS dll
# define OPENMS_DLLAPI __declspec( dllexport )
# else
# define OPENMS_DLLAPI __declspec( dllimport )
# endif
# if defined OpenMS_GUI_EXPORTS //automatically defined by CMake when building OpenMS-GUI dll
# define OPENMS_GUI_DLLAPI __declspec( dllexport )
# else
# define OPENMS_GUI_DLLAPI __declspec( dllimport )
# endif
# endif
#endif
#ifndef OPENMS_DLLAPI //leave empty when not building DLL
# define OPENMS_DLLAPI
#endif
#ifndef OPENMS_GUI_DLLAPI //leave empty when not building DLL
# define OPENMS_GUI_DLLAPI
#endif
#cmakedefine OPENMS_BIG_ENDIAN
// Define on 64 bit architectures
#cmakedefine OPENMS_64BIT_ARCHITECTURE
#define OPENMS_INT32_TYPE @CF_OPENMS_INT32_TYPE@
#define OPENMS_INT64_TYPE @CF_OPENMS_INT64_TYPE@
#define OPENMS_BYTE_TYPE @CF_OPENMS_BYTE_TYPE@
#define OPENMS_UINT64_TYPE @CF_OPENMS_UINT64_TYPE@
//#define OPENMS_SIZE_T_SIGNED @CF_OPENMS_SIZE_T_SIGNED@
// if you ever want to do abs() or floor() on this type in VC then use _abs64() and include <stdlib.h> (no kidding!)
#define PointerSizeInt @CF_OPENMS_INT64_TYPE@
#define PointerSizeUInt @CF_OPENMS_UINT64_TYPE@
#cmakedefine OPENMS_HAS_UNISTD_H
#cmakedefine OPENMS_HAS_PROCESS_H
#cmakedefine OPENMS_HAS_STDINT_H
#cmakedefine OPENMS_HAS_TIME_H
#cmakedefine OPENMS_HAS_SYS_TYPES_H
#cmakedefine OPENMS_HAS_SYS_TIMES_H
#cmakedefine OPENMS_HAS_SYS_TIME_H
#cmakedefine OPENMS_HAS_KILL
#cmakedefine OPENMS_HAS_SYSCONF
// library versions
#define OPENMS_LIBSVM_VERSION @CF_OPENMS_LIBSVM_VERSION@
#define OPENMS_LIBSVM_VERSION_MAJOR @CF_OPENMS_LIBSVM_VERSION_MAJOR@
#define OPENMS_LIBSVM_VERSION_MINOR @CF_OPENMS_LIBSVM_VERSION_MINOR@
#define OPENMS_BOOST_VERSION_MAJOR @CF_OPENMS_BOOST_VERSION_MAJOR@
#define OPENMS_BOOST_VERSION_MINOR @CF_OPENMS_BOOST_VERSION_MINOR@
#define OPENMS_BOOST_VERSION_SUBMINOR @CF_OPENMS_BOOST_VERSION_SUBMINOR@
#define OPENMS_BOOST_VERSION @CF_OPENMS_BOOST_VERSION@
#define COINOR_SOLVER @CF_USECOINOR@
#define OPENMS_GLPK_VERSION @CF_OPENMS_GLPK_VERSION@
#define OPENMS_GLPK_VERSION_MAJOR @CF_OPENMS_GLPK_VERSION_MAJOR@
#define OPENMS_GLPK_VERSION_MINOR @CF_OPENMS_GLPK_VERSION_MINOR@
// class & TOPP tests
#define DB_PLUGIN "@CF_QT_DB_PLUGIN@"
// Macro to construct a c string containing the complete path to the test data
#define OPENMS_GET_TEST_DATA_PATH(filename) (std::string("@CF_OPENMS_TEST_DATA_PATH@") + filename).c_str()
#define OPENMS_GET_TEST_DATA_PATH_MESSAGE(prefix,filename,suffix) (prefix + std::string("@CF_OPENMS_TEST_DATA_PATH@") + filename + suffix).c_str()
#ifdef _OPENMP
#define IF_MASTERTHREAD if (omp_get_thread_num() ==0)
#else
#define IF_MASTERTHREAD
#endif
#endif // OPENMS_CONFIG_H
|