add support for sticking generated files in the build directory
instead of with the source code. This will hopefully be especially
useful when we're generating dozens of files when we flesh out the
object description stuff.
remove generated files from the source tree. python is required
to build now.
base/trace.hh:
no need for the underscore in the name
base/traceflags.py:
clean up code
--HG--
extra : convert_revision : f68af8c3460eb7e73a1defaea3081a02ad7db33c
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "base/trace_flags.hh"
|
||||
#include "base/traceflags.hh"
|
||||
|
||||
namespace Trace {
|
||||
|
||||
|
||||
@@ -134,11 +134,7 @@ import sys
|
||||
# extract just the compound flag names into a list
|
||||
compoundFlags = []
|
||||
compoundFlags.extend(compoundFlagMap.keys())
|
||||
#for flags in compoundFlagMap.keys():
|
||||
# compoundFlags.append(flags)
|
||||
print 'compound', compoundFlags
|
||||
compoundFlags.sort()
|
||||
print 'compound', compoundFlags
|
||||
|
||||
#
|
||||
# First generate the header file. This defines the Flag enum
|
||||
@@ -288,7 +284,7 @@ print >>ccfile, '''\
|
||||
* Automatically generated from traceflags.pl.
|
||||
*/
|
||||
|
||||
#include "base/trace_flags.hh"
|
||||
#include "base/traceflags.hh"
|
||||
|
||||
using namespace Trace;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user