Separate version macros to its own header

This commit is contained in:
Martin Hořeňovský 2020-01-19 15:30:38 +01:00
parent ec7280379e
commit acf975cab1
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
4 changed files with 16 additions and 4 deletions

View file

@ -12,7 +12,7 @@ from scriptCommon import catchPath
versionParser = re.compile( r'(\s*static\sVersion\sversion)\s*\(\s*(.*)\s*,\s*(.*)\s*,\s*(.*)\s*,\s*\"(.*)\"\s*,\s*(.*)\s*\).*' )
rootPath = os.path.join( catchPath, 'src/catch2' )
versionPath = os.path.join( rootPath, "catch_version.cpp" )
definePath = os.path.join(rootPath, 'catch.hpp')
definePath = os.path.join(rootPath, 'catch_version_macros.hpp')
readmePath = os.path.join( catchPath, "README.md" )
cmakePath = os.path.join(catchPath, 'CMakeLists.txt')