Skip to content
Permalink
Browse files

Merge pull request #8411 from spycrab/win_repro

Windows: Make builds more reproducible
  • Loading branch information...
spycrab committed Oct 20, 2019
2 parents ef77101 + 50ee8b1 commit da22109a3123916c69c31592709a2963e782adf4
Showing with 4 additions and 1 deletion.
  1. +3 −0 Source/CMakeLists.txt
  2. +1 −1 Source/VSProps/Base.props
@@ -50,6 +50,9 @@ if (MSVC)
add_subdirectory(PCH)
add_definitions(/I${PCH_DIRECTORY})
add_definitions(/Yu${PCH_PATH})

# Don't include timestamps in binaries
add_link_options(/Brepro)
endif()

# These aren't actually needed for C11/C++11
@@ -162,7 +162,7 @@
<!--See Common/CompatPatches.cpp-->
<ForceSymbolReferences>enableCompatPatches</ForceSymbolReferences>
<!--TODO fix up ffmpeg garbage-->
<AdditionalOptions>/NODEFAULTLIB:libcmt %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions>/NODEFAULTLIB:libcmt /Brepro %(AdditionalOptions)</AdditionalOptions>
</Link>
<Lib>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>

0 comments on commit da22109

Please sign in to comment.
You can’t perform that action at this time.