Mercurial > hg > graal-compiler
comparison make/windows/makefiles/compile.make @ 659:520d43965b1f
6812297: update project creation for Visual Studio 2005-2008
Summary: Add 2 news classes to create VC8 and VC9 projects
Reviewed-by: apetrusenko, xlu
author | ikrylov |
---|---|
date | Fri, 27 Mar 2009 01:35:39 -0500 |
parents | c3a720eefe82 |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
658:fe62b51b93f4 | 659:520d43965b1f |
---|---|
168 BUFFEROVERFLOWLIB = bufferoverflowU.lib | 168 BUFFEROVERFLOWLIB = bufferoverflowU.lib |
169 LINK_FLAGS = /manifest $(LINK_FLAGS) $(BUFFEROVERFLOWLIB) | 169 LINK_FLAGS = /manifest $(LINK_FLAGS) $(BUFFEROVERFLOWLIB) |
170 # Manifest Tool - used in VS2005 and later to adjust manifests stored | 170 # Manifest Tool - used in VS2005 and later to adjust manifests stored |
171 # as resources inside build artifacts. | 171 # as resources inside build artifacts. |
172 MT=mt.exe | 172 MT=mt.exe |
173 # VS2005 and later restricts the use of certain libc functions without this | |
174 CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_DEPRECATE | |
175 !endif | 173 !endif |
176 | 174 |
177 !if "$(COMPILER_NAME)" == "VS2008" | 175 !if "$(COMPILER_NAME)" == "VS2008" |
178 PRODUCT_OPT_OPTION = /O2 /Oy- | 176 PRODUCT_OPT_OPTION = /O2 /Oy- |
179 FASTDEBUG_OPT_OPTION = /O2 /Oy- | 177 FASTDEBUG_OPT_OPTION = /O2 /Oy- |
181 GX_OPTION = /EHsc | 179 GX_OPTION = /EHsc |
182 LINK_FLAGS = /manifest $(LINK_FLAGS) | 180 LINK_FLAGS = /manifest $(LINK_FLAGS) |
183 # Manifest Tool - used in VS2005 and later to adjust manifests stored | 181 # Manifest Tool - used in VS2005 and later to adjust manifests stored |
184 # as resources inside build artifacts. | 182 # as resources inside build artifacts. |
185 MT=mt.exe | 183 MT=mt.exe |
186 # VS2005 and later restricts the use of certain libc functions without this | |
187 CPP_FLAGS=$(CPP_FLAGS) /D _CRT_SECURE_NO_DEPRECATE | |
188 !endif | 184 !endif |
189 | 185 |
190 # Compile for space above time. | 186 # Compile for space above time. |
191 !if "$(Variant)" == "kernel" | 187 !if "$(Variant)" == "kernel" |
192 PRODUCT_OPT_OPTION = /O1 /Oy- | 188 PRODUCT_OPT_OPTION = /O1 /Oy- |