Skip to content

Commit

Permalink
Windows: Make builds more reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
spycrab committed Oct 18, 2019
1 parent 4a613da commit 50ee8b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Source/VSProps/Base.props
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 50ee8b1

Please sign in to comment.