suriab / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

msvs_precompiled_* should pull things out of excluded on windows #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A syntax like the following should work, but currently you need to 
explicitly gate precompiled headers from windows out on other platforms, 
but not on windows.
{
   'sources': [
         .....
       'bob_precompiled.cc',
       'bob_precompiled.h',
    }
    'sources!': [
       'bob_precompiled.cc',
       'bob_precompiled.h',
    ],
    'configurations': {
        'Debug': {
             'msvs_precompiled_header': 'bob_precompiled.h',
             'msvs_precompiled_source': 'bob_precompiled.cc',
         },
     },  
}

Original issue reported on code.google.com by bradnel...@google.com on 27 Apr 2009 at 6:28

GoogleCodeExporter commented 9 years ago
We do support this and Chromium is using the idiom.

Original comment by sgk@chromium.org on 6 Aug 2009 at 5:31