diff --git a/build/common.gypi b/build/common.gypi index 09ecd3623b..209e08978b 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 5d0cab3e98..5f2dfa5ac5 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