<div dir="ltr"><div>Linking a program with llvm and using the -version commandline option gets output similar to the following:<br></div><div><br></div><div>LLVM (<a href="http://llvm.org/">http://llvm.org/</a>):</div><div>  LLVM version 3.7.0</div><div>  DEBUG build with assertions.</div><div>  Built Aug 10 2015 (04:08:22).</div><div>  Default target: x86_64-pc-windows-msvc</div><div>  Host CPU: sandybridge</div><div><br></div><div><div>I want to remove the time stamp on the fourth line as a step towards reproducible builds. The relevant code fragment seems to be</div><div><br></div><div>#if (ENABLE_TIMESTAMPS == 1)</div><div>       << "  Built " << __DATE__ << " (" << __TIME__ << ").\n"</div><div>#endif</div><div><br></div><div>so ENABLE_TIMESTAMPS needs to be set to 0 or undefined. Presumably this needs to be done during cmake, maybe as a command line parameter to same? I've tried "-DCMAKE_CXX_FLAGS=-DENABLE_TIMESTAMPS=0" but it doesn't make any difference. What is the command I should be using for this?</div></div></div>