13
0

remove exportvis changes from autowaf.py

This commit is contained in:
Paul Davis 2013-11-05 11:24:06 -05:00
parent 3ce39cc410
commit 486561a886

View File

@ -526,7 +526,7 @@ def build_dox(bld, name, version, srcdir, blddir, outdir=''):
excl='**/_*'))
# Version code file generation
def build_version_files(header_path, source_path, domain, major, minor, micro, exportname, visheader):
def build_version_files(header_path, source_path, domain, major, minor, micro):
header_path = os.path.abspath(header_path)
source_path = os.path.abspath(source_path)
text = "int " + domain + "_major_version = " + str(major) + ";\n"
@ -542,12 +542,10 @@ def build_version_files(header_path, source_path, domain, major, minor, micro, e
text = "#ifndef __" + domain + "_version_h__\n"
text += "#define __" + domain + "_version_h__\n"
if visheader != '':
text += "#include \"" + visheader + "\"\n"
text += exportname + " extern const char* " + domain + "_revision;\n"
text += exportname + " extern int " + domain + "_major_version;\n"
text += exportname + " extern int " + domain + "_minor_version;\n"
text += exportname + " extern int " + domain + "_micro_version;\n"
text += " extern const char* " + domain + "_revision;\n"
text += " extern int " + domain + "_major_version;\n"
text += " extern int " + domain + "_minor_version;\n"
text += " extern int " + domain + "_micro_version;\n"
text += "#endif /* __" + domain + "_version_h__ */\n"
try:
o = open(header_path, 'w')