Changeset 2990 for box/trunk


Ignore:
Timestamp:
28/08/2011 17:07:25 (9 months ago)
Author:
chris
Message:

Output the names of protocol files being written.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/server/makeprotocol.pl.in

    r2985 r2990  
    142142 
    143143# open files 
    144 my $h_filename = 'autogen_'.$protocol_name.'Protocol.h'; 
    145 open CPP,'>autogen_'.$protocol_name.'Protocol.cpp'; 
    146 open H,">$h_filename"; 
     144my $filename_base = 'autogen_'.$protocol_name.'Protocol'; 
     145print "Writing $filename_base.cpp\n"; 
     146print "Writing $filename_base.h\n"; 
     147open CPP, "> $filename_base.cpp"; 
     148open H,   "> $filename_base.h"; 
    147149 
    148150my $guardname = uc 'AUTOGEN_'.$protocol_name.'Protocol_H'; 
     
    156158#include <sstream> 
    157159 
    158 #include "$h_filename" 
     160#include "$filename_base.h" 
    159161#include "IOStream.h" 
    160162__E 
Note: See TracChangeset for help on using the changeset viewer.