-
Notifications
You must be signed in to change notification settings - Fork 18
/
config.h.in
86 lines (70 loc) · 2.29 KB
/
config.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
/**
* Auto generated - edit config.h.in instead!
*
* This file is instantiated by cmake as config.h in the binary tree of
* the out-of-source build. See cmake docs on CONFIGURE_FILE.
*
* WARNING: This file may never be included by public headers as we cannot
* ship prebuilt packages otherwise!
*/
#ifndef __CONFIG_H
#define __CONFIG_H
/** Platform macros */
#cmakedefine UNIX
// suppress warnings with already define -DWIN32 macro
#ifndef WIN32
#cmakedefine WIN32
#endif
#cmakedefine APPLE
#cmakedefine CYGWIN
#cmakedefine IOS
#cmakedefine IOSSIM
#cmakedefine WITH_CXX11
// suppress warnings with already define -DANDROID macro
#ifndef ANDROID
#cmakedefine ANDROID
#endif
#cmakedefine PATH_SEPERATOR '@PATH_SEPERATOR@'
/** Implementation macros */
#cmakedefine NET_ZEROMQ
#cmakedefine NET_RTP
#cmakedefine S11N_PROTOBUF
#cmakedefine DISC_BONJOUR
#cmakedefine DISC_BONJOUR_EMBED
#cmakedefine DISC_AVAHI
#cmakedefine DISC_BROADCAST
#ifndef THREAD_PTHREAD
#cmakedefine THREAD_PTHREAD
#endif
#ifndef THREAD_WIN32
#cmakedefine THREAD_WIN32
#endif
/** Loglevels */
#cmakedefine LOGLEVEL_COMMON @LOGLEVEL_COMMON@
#cmakedefine LOGLEVEL_DISC @LOGLEVEL_DISC@
#cmakedefine LOGLEVEL_NET @LOGLEVEL_NET@
#cmakedefine LOGLEVEL_S11N @LOGLEVEL_S11N@
/** version */
#define UMUNDO_VERSION_MAJOR "@UMUNDO_VERSION_MAJOR@"
#define UMUNDO_VERSION_MINOR "@UMUNDO_VERSION_MINOR@"
#define UMUNDO_VERSION_PATCH "@UMUNDO_VERSION_PATCH@"
#define UMUNDO_VERSION "@UMUNDO_VERSION@"
/** build type */
#cmakedefine CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
#cmakedefine UMUNDO_PLATFORM_ID "@UMUNDO_PLATFORM_ID@"
/** miscellaneous */
#cmakedefine PROJECT_SOURCE_DIR "@PROJECT_SOURCE_DIR@"
#cmakedefine DIST_PREPARE
#cmakedefine HAVE_STDBOOL_H @HAVE_STDBOOL_H@
#cmakedefine BUILD_WITH_COMPRESSION_SQUASH
#cmakedefine BUILD_WITH_COMPRESSION_MINIZ
#define BUILD_WITH_COMPRESSION_LEVEL_MINIZ @BUILD_WITH_COMPRESSION_LEVEL_MINIZ@
#cmakedefine BUILD_WITH_COMPRESSION_FASTLZ
/** fastlz will automatically choose one of two levels depending on input size */
#cmakedefine BUILD_WITH_COMPRESSION_LZ4
#define BUILD_WITH_COMPRESSION_LEVEL_LZ4 @BUILD_WITH_COMPRESSION_LEVEL_LZ4@
/** Implementation specific */
#cmakedefine NET_ZEROMQ_SND_HWM @NET_ZEROMQ_SND_HWM@
#cmakedefine NET_ZEROMQ_RCV_HWM @NET_ZEROMQ_RCV_HWM@
#cmakedefine BONJOUR_HAS_KDNSSERVICEERR_TIMEOUT
#endif