Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-06-15 11:14:24 +0200
committerMartin Hořeňovský2019-06-15 11:43:25 +0200
commite640c3837aaf3d627f8f77998cf3cd142ee139fa (patch)
tree72148235e591f8a734cba9ab9dfdf2bee6dc014c /scripts
parentb468d7cbff70291200294732c3795c53b5c502f6 (diff)
downloadcatch3-e640c3837aaf3d627f8f77998cf3cd142ee139fa.tar.gz
Move the async-using parts of benchmarking into a .cpp file
This keeps it out of the main include path when benchmarking is enabled, somewhat reducing the compilation-time penalty. Also moved some other functions into the .cpp file, especially helpers that could be given internal linkage, and concretized some iterator-templated code that only ever used `std::vector<double>::iterator`.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generateSingleHeader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generateSingleHeader.py b/scripts/generateSingleHeader.py
index 31033d68..f8968774 100755
--- a/scripts/generateSingleHeader.py
+++ b/scripts/generateSingleHeader.py
@@ -53,7 +53,7 @@ def generate(v):
out.write( line )
def insertCpps():
- dirs = [os.path.join( rootPath, s) for s in ['', 'internal', 'reporters']]
+ dirs = [os.path.join( rootPath, s) for s in ['', 'internal', 'reporters', 'internal/benchmark', 'internal/benchmark/detail']]
cppFiles = []
for dir in dirs:
cppFiles += glob(os.path.join(dir, '*.cpp'))