Change 595

david_turner (david_turner)
david_turner committed this change into //guest/david_turner/jam/src
Request Review
Download .zip
Adding support for the new HDRMACRO builtin.
The latter is used to specify a file containing macro
definitions that are later used in #include statements,
as in:

   #include MYFILE_H

A line like:

  HDRMACRO  mydefs.h ;

will parse the file "mydefs.h" for lines of the form:

#define  MACRO    <.......>   and
#define  MACRO    "......."

and will store their definition in a global dictionary.
When a line like

#include MACRO

is later found during header file processing, the macro
will be resolved accordingly..
  • Files 6
  • Comments 0
4 edited 2 added 0 deleted
Jamfile#2
Loading...
Makefile#2
Loading...
compile.c#2
Loading...
hdrmacro.c#1
Loading...
hdrmacro.h#1
Loading...
headers.c#2
Loading...
Tip: Use n and p to cycle through the changes.