90 # 1200 is for VC6 |
90 # 1200 is for VC6 |
91 # 1300 and 1310 is VS2003 or VC7 |
91 # 1300 and 1310 is VS2003 or VC7 |
92 # 1399 is our fake number for the VS2005 compiler that really isn't 1400 |
92 # 1399 is our fake number for the VS2005 compiler that really isn't 1400 |
93 # 1400 is for VS2005 |
93 # 1400 is for VS2005 |
94 # 1500 is for VS2008 |
94 # 1500 is for VS2008 |
|
95 # 1600 is for VS2010 |
95 # Do not confuse this MSC_VER with the predefined macro _MSC_VER that the |
96 # Do not confuse this MSC_VER with the predefined macro _MSC_VER that the |
96 # compiler provides, when MSC_VER==1399, _MSC_VER will be 1400. |
97 # compiler provides, when MSC_VER==1399, _MSC_VER will be 1400. |
97 # Normally they are the same, but a pre-release of the VS2005 compilers |
98 # Normally they are the same, but a pre-release of the VS2005 compilers |
98 # in the Windows 64bit Platform SDK said it was 1400 when it was really |
99 # in the Windows 64bit Platform SDK said it was 1400 when it was really |
99 # closer to VS2003 in terms of option spellings, so we use 1399 for that |
100 # closer to VS2003 in terms of option spellings, so we use 1399 for that |
171 # as resources inside build artifacts. |
175 # as resources inside build artifacts. |
172 MT=mt.exe |
176 MT=mt.exe |
173 !endif |
177 !endif |
174 |
178 |
175 !if "$(COMPILER_NAME)" == "VS2008" |
179 !if "$(COMPILER_NAME)" == "VS2008" |
|
180 PRODUCT_OPT_OPTION = /O2 /Oy- |
|
181 FASTDEBUG_OPT_OPTION = /O2 /Oy- |
|
182 DEBUG_OPT_OPTION = /Od |
|
183 GX_OPTION = /EHsc |
|
184 LINK_FLAGS = /manifest $(LINK_FLAGS) |
|
185 # Manifest Tool - used in VS2005 and later to adjust manifests stored |
|
186 # as resources inside build artifacts. |
|
187 MT=mt.exe |
|
188 !endif |
|
189 |
|
190 !if "$(COMPILER_NAME)" == "VS2010" |
176 PRODUCT_OPT_OPTION = /O2 /Oy- |
191 PRODUCT_OPT_OPTION = /O2 /Oy- |
177 FASTDEBUG_OPT_OPTION = /O2 /Oy- |
192 FASTDEBUG_OPT_OPTION = /O2 /Oy- |
178 DEBUG_OPT_OPTION = /Od |
193 DEBUG_OPT_OPTION = /Od |
179 GX_OPTION = /EHsc |
194 GX_OPTION = /EHsc |
180 LINK_FLAGS = /manifest $(LINK_FLAGS) |
195 LINK_FLAGS = /manifest $(LINK_FLAGS) |