mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-07 16:01:13 +00:00
Don't expose header windows.h in catch_all.hpp (#2526)
* Don't expose header windows.h in catch_all.hpp * Fix generateAmalgamatedFiles.py
This commit is contained in:
parent
4db8b50aab
commit
980c20694e
4 changed files with 3 additions and 6 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue