Meta
November 2024 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 29 30 Blogroll
IP info
Programs
Tag Archives: reproducible-builds
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