Define _CRT_NONSTDC_NO_WARNINGS for zlib compilation with MSVC.
[wxWidgets.git] / build / msw / config.gcc
1 # =========================================================================\r
2 #     This configuration file was generated by\r
3 #     Bakefile 0.2.9 (http://www.bakefile.org)\r
4 #     Beware that all changes made to this file will be overwritten next\r
5 #     time you run Bakefile!\r
6 # =========================================================================\r
7 \r
8 \r
9 # -------------------------------------------------------------------------\r
10 # These are configurable options:\r
11 # -------------------------------------------------------------------------\r
12 \r
13 # Compiler flags to link shared library \r
14 LINK_DLL_FLAGS ?= -shared\r
15 \r
16 # Compiler flags to link loadable module \r
17 LINK_MODULE_FLAGS ?= -shared\r
18 \r
19 # C compiler \r
20 CC = gcc\r
21 \r
22 # C++ compiler \r
23 CXX = g++\r
24 \r
25 # Standard flags for CC \r
26 CFLAGS ?= \r
27 \r
28 # Standard flags for C++ \r
29 CXXFLAGS ?= \r
30 \r
31 # Standard preprocessor flags (common for CC and CXX) \r
32 CPPFLAGS ?= \r
33 \r
34 # Standard linker flags \r
35 LDFLAGS ?= \r
36 \r
37 # The C preprocessor \r
38 CPP ?= $(CC) -E\r
39 \r
40 # What type of library to build? [0,1]\r
41 SHARED ?= 0\r
42 \r
43 # GTK+ toolkit version [,2]\r
44 TOOLKIT_VERSION ?= \r
45 \r
46 # Build wxUniversal instead of native port? [0,1]\r
47 WXUNIV ?= 0\r
48 \r
49 # Compile Unicode build of wxWidgets? [0,1]\r
50 UNICODE ?= 1\r
51 \r
52 # Use MSLU library when building Unicode version. [0,1]\r
53 MSLU ?= 0\r
54 \r
55 # Type of compiled binaries [debug,release]\r
56 BUILD ?= debug\r
57 \r
58 # Should debugging info be included in the executables? The default value\r
59 # "default" means that debug info will be included if BUILD=debug\r
60 # and not included if BUILD=release. [0,1,default]\r
61 DEBUG_INFO ?= default\r
62 \r
63 # Value of wxDEBUG_LEVEL. The default value is the same as 1 and means that all\r
64 # but expensive assert checks are enabled, use 0 to completely remove debugging\r
65 # code. [0,1,default]\r
66 DEBUG_FLAG ?= 1\r
67 \r
68 # Multiple libraries or single huge monolithic one? [0,1]\r
69 MONOLITHIC ?= 0\r
70 \r
71 # Build GUI libraries? [0,1]\r
72 USE_GUI ?= 1\r
73 \r
74 # Build wxHTML library (USE_GUI must be 1)? [0,1]\r
75 USE_HTML ?= 1\r
76 \r
77 # Build wxWebView library (USE_GUI must be 1)? [0,1]\r
78 USE_WEBVIEW ?= 1\r
79 \r
80 # Build multimedia library (USE_GUI must be 1)? [0,1]\r
81 USE_MEDIA ?= 1\r
82 \r
83 # Build wxXRC library (USE_GUI must be 1)? [0,1]\r
84 USE_XRC ?= 1\r
85 \r
86 # Build wxAUI library (USE_GUI must be 1)? [0,1]\r
87 USE_AUI ?= 1\r
88 \r
89 # Build wxRibbon library (USE_GUI must be 1)? [0,1]\r
90 USE_RIBBON ?= 1\r
91 \r
92 # Build wxPropertyGrid library (USE_GUI must be 1)? [0,1]\r
93 USE_PROPGRID ?= 1\r
94 \r
95 # Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]\r
96 USE_RICHTEXT ?= 1\r
97 \r
98 # Build wxStyledTextCtrl library (USE_GUI must be 1)? [0,1]\r
99 USE_STC ?= 1\r
100 \r
101 # Build OpenGL canvas library (USE_GUI must be 1)? [0,1]\r
102 USE_OPENGL ?= 1\r
103 \r
104 # Build quality assurance classes library (USE_GUI must be 1)? [0,1]\r
105 USE_QA ?= 0\r
106 \r
107 # Enable exceptions in compiled code. [0,1]\r
108 USE_EXCEPTIONS ?= 1\r
109 \r
110 # Enable run-time type information (RTTI) in compiled code. [0,1]\r
111 USE_RTTI ?= 1\r
112 \r
113 # Enable threading in compiled code. [0,1]\r
114 USE_THREADS ?= 1\r
115 \r
116 # Enable wxCairoContext for platforms other than Linux/GTK. [0,1]\r
117 USE_CAIRO ?= 0\r
118 \r
119 # Is this official build by wxWidgets developers? [0,1]\r
120 OFFICIAL_BUILD ?= 0\r
121 \r
122 # Use this to name your customized DLLs differently \r
123 VENDOR ?= custom\r
124 \r
125 #  \r
126 WX_FLAVOUR ?= \r
127 \r
128 #  \r
129 WX_LIB_FLAVOUR ?= \r
130 \r
131 # Name of your custom configuration. This affects directory\r
132 # where object files are stored as well as the location of\r
133 # compiled .lib files and setup.h under the lib/ toplevel directory. \r
134 CFG ?= \r
135 \r
136 # Compiler flags needed to compile test suite in tests directory. If you want\r
137 # to run the tests, set it so that the compiler can find CppUnit headers. \r
138 CPPUNIT_CFLAGS ?= \r
139 \r
140 # Linker flags needed to link test suite in tests directory. If you want\r
141 # to run the tests, include CppUnit library here. \r
142 CPPUNIT_LIBS ?= \r
143 \r
144 # Version of C runtime library to use. You can change this to\r
145 # static if SHARED=0, but it is highly recommended to not do\r
146 # it if SHARED=1 unless you know what you are doing. [dynamic,static]\r
147 RUNTIME_LIBS ?= dynamic\r
148 \r
149 # Set the version of your Mingw installation here.\r
150 #     "3" ...... this is for Mingw 2.0 or newer (comes with gcc3)\r
151 #     "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]\r
152 GCC_VERSION ?= 3\r
153 \r