mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
4a0c8fc0c9
enable newline normalization get revision number via `hg svn info` for svnrev.h ignore incremental/generated binary files (windows/VS at least) leave a comment if some files need native eol set in svnprops git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5637 8ced0084-cf51-0410-be5f-012b33b47a6e
11 lines
318 B
Plaintext
11 lines
318 B
Plaintext
OutFile "GetSVNRev.exe"
|
|
SilentInstall silent
|
|
|
|
Section
|
|
; Create template for SubWCRev
|
|
FileOpen $R0 "svnrev_template.txt" w
|
|
FileWrite $R0 '!define PRODUCT_VERSION "$$WCREV$$"'
|
|
FileClose $R0
|
|
; Make a file with only rev # in it
|
|
Exec "..\Source\Core\Common\SubWCRev.exe ..\ svnrev_template.txt svnrev.txt"
|
|
SectionEnd |