Meta
February 2023 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Blogroll
IP info
Programs
Daily Archives: 2023-02-01
Aiding reproducibility in builds with MS Visual C++
<AdditionalOptions>%(AdditionalOptions) /d1trimfile:”$(SolutionDir)\”</AdditionalOptions> In your .vcxproj file or a Directory.Build.props when passed to the compiler (cl.exe, ClCompile) this should trim the leading path used for __FILE__. The backslash is actually required here, because SolutionDir ends in a backslash itself, but we … Continue reading
Initialization of static variables (reminder)
Nice blog article which I ran across again recently: gynvael.coldwind.pl/?id=406 PS: probably also worth a look: Paged Out
Posted in C/C++, Uncategorized
Leave a comment