Revision: 9458
Author:   [email protected]
Date:     Wed Sep 28 02:13:30 2011
Log:      Add /bigobj parameter to cctest to make MSVS happy.

TEST=MSVS 2008 compiles cctest without warnings/errors.

Review URL: http://codereview.chromium.org/8052031
http://code.google.com/p/v8/source/detail?r=9458

Modified:
 /branches/bleeding_edge/build/common.gypi
 /branches/bleeding_edge/test/cctest/cctest.gyp

=======================================
--- /branches/bleeding_edge/build/common.gypi   Fri Sep 23 02:38:03 2011
+++ /branches/bleeding_edge/build/common.gypi   Wed Sep 28 02:13:30 2011
@@ -269,7 +269,7 @@
           }],
           ['OS=="win"', {
             'msvs_configuration_attributes': {
-              'OutputDirectory': '$(SolutionDir)$(ConfigurationName)',
+              'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)',
               'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
               'CharacterSet': '1',
             },
=======================================
--- /branches/bleeding_edge/test/cctest/cctest.gyp      Wed Aug 31 07:15:42 2011
+++ /branches/bleeding_edge/test/cctest/cctest.gyp      Wed Sep 28 02:13:30 2011
@@ -134,6 +134,12 @@
           'sources': [
             'test-platform-win32.cc',
           ],
+          'msvs_settings': {
+            'VCCLCompilerTool': {
+              # MSVS wants this for gay-{precision,shortest}.cc.
+              'AdditionalOptions': ['/bigobj'],
+            },
+          },
         }],
         ['component=="shared_library"', {
           # cctest can't be built against a shared library, so we need to

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to