Thrill  0.1
config.hpp.in
Go to the documentation of this file.
1 /***************************************************************************
2  * foxxll/config.hpp.in
3  *
4  * Template file processed by cmake to set all define switches for this build
5  * according to the cmake build options.
6  *
7  * Part of FOXXLL. See http://foxxll.org
8  *
9  * Copyright (C) 2012-2013 Timo Bingmann <[email protected]>
10  * Copyright (C) 2018 Manuel Penschuck <[email protected]>
11  *
12  * Distributed under the Boost Software License, Version 1.0.
13  * (See accompanying file LICENSE_1_0.txt or copy at
14  * http://www.boost.org/LICENSE_1_0.txt)
15  **************************************************************************/
16 
17 #ifndef FOXXLL_CONFIG_HEADER
18 #define FOXXLL_CONFIG_HEADER
19 
20 // the FOXXLL library version variables
21 #define FOXXLL_VERSION_MAJOR ${FOXXLL_VERSION_MAJOR}
22 #define FOXXLL_VERSION_MINOR ${FOXXLL_VERSION_MINOR}
23 #define FOXXLL_VERSION_PATCH ${FOXXLL_VERSION_PATCH}
24 #define FOXXLL_VERSION_STRING "${FOXXLL_VERSION_STRING}"
25 #define FOXXLL_VERSION_PHASE "${FOXXLL_VERSION_PHASE}"
26 
27 // if this is a git repository, add the refspec and commit sha
28 #cmakedefine FOXXLL_VERSION_GIT_REFSPEC "${FOXXLL_VERSION_GIT_REFSPEC}"
29 #cmakedefine FOXXLL_VERSION_GIT_SHA1 "${FOXXLL_VERSION_GIT_SHA1}"
30 
31 #cmakedefine FOXXLL_DIRECT_IO_OFF ${FOXXLL_DIRECT_IO_OFF}
32 // default: 0/1 (platform dependent)
33 // cmake: detection of platform and flag
34 // effect: disables use of O_DIRECT flag on unsupported platforms
35 
36 #cmakedefine FOXXLL_HAVE_MMAP_FILE ${FOXXLL_HAVE_MMAP_FILE}
37 // default: 0/1 (platform dependent)
38 // used in: io/mmap_file.h/cpp
39 // effect: enables/disables memory mapped file implementation
40 
41 #cmakedefine FOXXLL_HAVE_LINUXAIO_FILE ${FOXXLL_HAVE_LINUXAIO_FILE}
42 // default: 0/1 (platform dependent)
43 // used in: io/linuxaio_file.h/cpp
44 // effect: enables/disables Linux AIO file implementation
45 
46 #cmakedefine FOXXLL_WINDOWS ${FOXXLL_WINDOWS}
47 // default: off
48 // cmake: detection of ms windows platform
49 // effect: enables windows-specific api calls (mingw or msvc)
50 
51 #cmakedefine FOXXLL_MSVC ${FOXXLL_MSVC}
52 // default: off
53 // cmake: detection of ms visual c++ via CMake (contains version number)
54 // effect: enables msvc-specific headers and macros
55 
56 #cmakedefine FOXXLL_WITH_VALGRIND ${FOXXLL_WITH_VALGRIND}
57 // default: off
58 // cmake: option USE_VALGRIND=ON
59 // effect: run all tests with valgrind and pre-initialize some memory buffers
60 
61 #endif // !FOXXLL_CONFIG_HEADER