ChrisPei / gyp

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

Feature Request: add support for 'configure' target type #131

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Many third_party projects depend on a 'configure' step which typically 
generates header files for system dependent settings. While using GYP, it 
would be nice to be able to add a target for such step, such as in:

{
  'targets': 'configure_third_party_lib',
  'type': 'configure',
  'inputs': [
    'Makefile.in',
    'config.h.in',
  ],
}

That would cause configure to be called, expecting 'Makefile' and 
'config.h' to be generated.

Original issue reported on code.google.com by igorga...@gmail.com on 27 Dec 2009 at 1:30