From 8e5db73e7d5d6b17a515804dbd1decc9ce303381 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Wed, 28 Sep 2011 09:13:30 +0000 Subject: [PATCH] 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 --- build/common.gypi | 2 +- test/cctest/cctest.gyp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build/common.gypi b/build/common.gypi index 09ecd36..209e089 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 5d0cab3..5f2dfa5 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 -- 2.7.4