From: jkummerow@chromium.org Date: Wed, 28 Sep 2011 09:13:30 +0000 (+0000) Subject: Add /bigobj parameter to cctest to make MSVS happy. X-Git-Tag: upstream/4.7.83~18343 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e5db73e7d5d6b17a515804dbd1decc9ce303381;p=platform%2Fupstream%2Fv8.git Add /bigobj parameter to cctest to make MSVS happy. TEST=MSVS 2008 compiles cctest without warnings/errors. Review URL: http://codereview.chromium.org/8052031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9458 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/build/common.gypi b/build/common.gypi index 09ecd3623..209e08978 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -269,7 +269,7 @@ }], ['OS=="win"', { 'msvs_configuration_attributes': { - 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)', + 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', 'CharacterSet': '1', }, diff --git a/test/cctest/cctest.gyp b/test/cctest/cctest.gyp index 5d0cab3e9..5f2dfa5ac 100644 --- a/test/cctest/cctest.gyp +++ b/test/cctest/cctest.gyp @@ -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