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

summaryrefslogtreecommitdiffhomepage
path: root/tools/scripts/generateAmalgamatedFiles.py
diff options
context:
space:
mode:
authorDimitrij Mijoski2022-10-03 15:36:37 +0200
committerGitHub2022-10-03 15:36:37 +0200
commit980c20694ecb60e3671ee3c08a53b4b720f5d4ae (patch)
tree5df25361bc768c558ab0d69bdf8ae43f9730f815 /tools/scripts/generateAmalgamatedFiles.py
parent4db8b50aab9f91f31b2953455091e257942ec188 (diff)
downloadcatch3-980c20694ecb60e3671ee3c08a53b4b720f5d4ae.tar.gz
Don't expose header windows.h in catch_all.hpp (#2526)
* Don't expose header windows.h in catch_all.hpp * Fix generateAmalgamatedFiles.py
Diffstat (limited to 'tools/scripts/generateAmalgamatedFiles.py')
-rwxr-xr-xtools/scripts/generateAmalgamatedFiles.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/scripts/generateAmalgamatedFiles.py b/tools/scripts/generateAmalgamatedFiles.py
index 812712a3..172353e6 100755
--- a/tools/scripts/generateAmalgamatedFiles.py
+++ b/tools/scripts/generateAmalgamatedFiles.py
@@ -108,6 +108,7 @@ def generate_cpp():
with open(output_cpp, mode='w', encoding='utf-8') as cpp:
cpp.write(formatted_file_header(Version()))
cpp.write('\n#include "catch_amalgamated.hpp"\n')
+ concatenate_file(cpp, os.path.join(root_path, 'catch2/internal/catch_windows_h_proxy.hpp'), False)
for file in cpp_files:
concatenate_file(cpp, file, False)
print('Concatenated {} cpp files'.format(len(cpp_files)))