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