diff options
| author | Martin Hořeňovský | 2019-06-15 11:14:24 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-06-15 11:43:25 +0200 |
| commit | e640c3837aaf3d627f8f77998cf3cd142ee139fa (patch) | |
| tree | 72148235e591f8a734cba9ab9dfdf2bee6dc014c /scripts | |
| parent | b468d7cbff70291200294732c3795c53b5c502f6 (diff) | |
| download | catch3-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-x | scripts/generateSingleHeader.py | 2 |
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')) |