Commit graph

7 commits

Author SHA1 Message Date
Martin Kinkelin
a053480010 Misc. merge fixes (C++) 2023-11-06 00:33:57 +01:00
Martin Kinkelin
7a625251a6 Trace preprocessing times 2023-06-09 16:14:23 +02:00
Martin Kinkelin
04bcdc4d06 Set up MSVC environment for C preprocessing on Windows 2023-06-09 15:33:20 +02:00
Martin Kinkelin
32176ced56 Use proper temp files for preprocessed .i files
I thought DMD would create the temp .i file in the same directory
as the .c file, but it creates it in the current working dir.

Create them in a dedicated new temp directory now, to prevent
collisions (parallel compiler invocations in the same working dir
etc. etc.).
2023-06-07 17:09:25 +02:00
Martin Kinkelin
cf74b3d555 Windows: Prefer clang-cl.exe over cl.exe for C preprocessing 2023-06-07 15:26:08 +02:00
Martin Kinkelin
1bf7e28c59 Add -Xcpp CLI option for C preprocessor flags (-P with ldmd2) 2023-06-07 12:06:25 +02:00
Martin Kinkelin
5b137768a0 Run C preprocessor 2023-06-07 12:06:25 +02:00