mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Note start of .cpp files in single header
This commit is contained in:
parent
249bf116e8
commit
cde987a92e
@ -67,6 +67,7 @@ def parseFile( path, filename ):
|
|||||||
|
|
||||||
f = open( os.path.join(path, filename), 'r' )
|
f = open( os.path.join(path, filename), 'r' )
|
||||||
blanks = 0
|
blanks = 0
|
||||||
|
write( "// start {0}\n".format( filename ) )
|
||||||
for line in f:
|
for line in f:
|
||||||
if '// ~*~* CATCH_CPP_STITCH_PLACE *~*~' in line:
|
if '// ~*~* CATCH_CPP_STITCH_PLACE *~*~' in line:
|
||||||
insertCpps()
|
insertCpps()
|
||||||
@ -83,7 +84,6 @@ def parseFile( path, filename ):
|
|||||||
if not headerFile in seenHeaders:
|
if not headerFile in seenHeaders:
|
||||||
if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
|
if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
|
||||||
seenHeaders.add( headerFile )
|
seenHeaders.add( headerFile )
|
||||||
write( "// #included from: {0}\n".format( header ) )
|
|
||||||
if headerPath == "internal" and path.endswith("internal/"):
|
if headerPath == "internal" and path.endswith("internal/"):
|
||||||
headerPath = ""
|
headerPath = ""
|
||||||
sep = ""
|
sep = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user