Merge pull request #8411 from spycrab/win_repro
Windows: Make builds more reproducible
This commit is contained in:
commit
da22109a31
|
@ -50,6 +50,9 @@ if (MSVC)
|
||||||
add_subdirectory(PCH)
|
add_subdirectory(PCH)
|
||||||
add_definitions(/I${PCH_DIRECTORY})
|
add_definitions(/I${PCH_DIRECTORY})
|
||||||
add_definitions(/Yu${PCH_PATH})
|
add_definitions(/Yu${PCH_PATH})
|
||||||
|
|
||||||
|
# Don't include timestamps in binaries
|
||||||
|
add_link_options(/Brepro)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# These aren't actually needed for C11/C++11
|
# These aren't actually needed for C11/C++11
|
||||||
|
|
|
@ -162,7 +162,7 @@
|
||||||
<!--See Common/CompatPatches.cpp-->
|
<!--See Common/CompatPatches.cpp-->
|
||||||
<ForceSymbolReferences>enableCompatPatches</ForceSymbolReferences>
|
<ForceSymbolReferences>enableCompatPatches</ForceSymbolReferences>
|
||||||
<!--TODO fix up ffmpeg garbage-->
|
<!--TODO fix up ffmpeg garbage-->
|
||||||
<AdditionalOptions>/NODEFAULTLIB:libcmt %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/NODEFAULTLIB:libcmt /Brepro %(AdditionalOptions)</AdditionalOptions>
|
||||||
</Link>
|
</Link>
|
||||||
<Lib>
|
<Lib>
|
||||||
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
|
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
|
||||||
|
|
Loading…
Reference in New Issue