1 | // |
---|
2 | // Config.h |
---|
3 | // |
---|
4 | // $Id: //poco/1.3/Foundation/include/Poco/Config.h#9 $ |
---|
5 | // |
---|
6 | // Library: Foundation |
---|
7 | // Package: Core |
---|
8 | // Module: Foundation |
---|
9 | // |
---|
10 | // Feature configuration for the POCO libraries. |
---|
11 | // |
---|
12 | // Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH. |
---|
13 | // and Contributors. |
---|
14 | // |
---|
15 | // Permission is hereby granted, free of charge, to any person or organization |
---|
16 | // obtaining a copy of the software and accompanying documentation covered by |
---|
17 | // this license (the "Software") to use, reproduce, display, distribute, |
---|
18 | // execute, and transmit the Software, and to prepare derivative works of the |
---|
19 | // Software, and to permit third-parties to whom the Software is furnished to |
---|
20 | // do so, all subject to the following: |
---|
21 | // |
---|
22 | // The copyright notices in the Software and this entire statement, including |
---|
23 | // the above license grant, this restriction and the following disclaimer, |
---|
24 | // must be included in all copies of the Software, in whole or in part, and |
---|
25 | // all derivative works of the Software, unless such copies or derivative |
---|
26 | // works are solely in the form of machine-executable object code generated by |
---|
27 | // a source language processor. |
---|
28 | // |
---|
29 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
---|
30 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
---|
31 | // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT |
---|
32 | // SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE |
---|
33 | // FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, |
---|
34 | // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
---|
35 | // DEALINGS IN THE SOFTWARE. |
---|
36 | // |
---|
37 | |
---|
38 | |
---|
39 | #ifndef Foundation_Config_INCLUDED |
---|
40 | #define Foundation_Config_INCLUDED |
---|
41 | |
---|
42 | |
---|
43 | // Define to enable Windows Unicode (UTF-8) support |
---|
44 | #define POCO_WIN32_UTF8 |
---|
45 | |
---|
46 | |
---|
47 | // Define to disable implicit linking |
---|
48 | // #define POCO_NO_AUTOMATIC_LIBS |
---|
49 | |
---|
50 | |
---|
51 | // Define to disable FPEnvironment support |
---|
52 | // #define POCO_NO_FPENVIRONMENT |
---|
53 | |
---|
54 | |
---|
55 | // Define if std::wstring is not available |
---|
56 | // #define POCO_NO_WSTRING |
---|
57 | |
---|
58 | |
---|
59 | // Define to disable shared memory |
---|
60 | // #define POCO_NO_SHAREDMEMORY |
---|
61 | |
---|
62 | |
---|
63 | // Define to desired default thread stack size |
---|
64 | // Zero means OS default |
---|
65 | #define POCO_THREAD_STACK_SIZE 0 |
---|
66 | |
---|
67 | |
---|
68 | // Following are options to remove certain features |
---|
69 | // to reduce library/executable size for smaller |
---|
70 | // embedded platforms. By enabling these options, |
---|
71 | // the size of a statically executable can be |
---|
72 | // reduced by a few 100 Kbytes. |
---|
73 | |
---|
74 | |
---|
75 | // No automatic registration of FileChannel in |
---|
76 | // LoggingFactory - avoids FileChannel and friends |
---|
77 | // being linked to executable. |
---|
78 | // #define POCO_NO_FILECHANNEL |
---|
79 | |
---|
80 | |
---|
81 | // No automatic registration of SplitterChannel in |
---|
82 | // LoggingFactory - avoids SplitterChannel being |
---|
83 | // linked to executable. |
---|
84 | // #define POCO_NO_SPLITTERCHANNEL |
---|
85 | |
---|
86 | |
---|
87 | // No automatic registration of SyslogChannel in |
---|
88 | // LoggingFactory - avoids SyslogChannel being |
---|
89 | // linked to executable on Unix/Linux systems. |
---|
90 | // #define POCO_NO_SYSLOGCHANNEL |
---|
91 | |
---|
92 | |
---|
93 | // No support for INI file configurations in |
---|
94 | // Poco::Util::Application. |
---|
95 | // #define POCO_UTIL_NO_INIFILECONFIGURATION |
---|
96 | |
---|
97 | |
---|
98 | // No support for XML configuration in |
---|
99 | // Poco::Util::Application. Avoids linking of XML |
---|
100 | // library and saves a few 100 Kbytes. |
---|
101 | // #define POCO_UTIL_NO_XMLCONFIGURATION |
---|
102 | |
---|
103 | |
---|
104 | #endif // Foundation_Config_INCLUDED |
---|