mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Inform SCons of the svnrev.h dependency so it isn't subject
to a race with the creation of Build/foo/Source/Common/Src. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6899 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7cd7c2838b
commit
9f48012442
@ -74,6 +74,10 @@
|
|||||||
<References>
|
<References>
|
||||||
</References>
|
</References>
|
||||||
<Files>
|
<Files>
|
||||||
|
<File
|
||||||
|
RelativePath=".\da.po"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\de.po"
|
RelativePath=".\de.po"
|
||||||
>
|
>
|
||||||
|
@ -3,10 +3,13 @@
|
|||||||
Import('env')
|
Import('env')
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from SconsTests import utils
|
|
||||||
|
|
||||||
utils.GenerateRevFile(env['flavor'], Dir('#Source/Core/Common/Src').abspath +
|
def createVersion(env, target, source):
|
||||||
os.sep + 'svnrev_template.h', 'svnrev.h')
|
from SconsTests import utils
|
||||||
|
utils.GenerateRevFile(env['flavor'], source[0].path, target[0].path)
|
||||||
|
|
||||||
|
env.Command('svnrev.h', 'svnrev_template.h',
|
||||||
|
[Delete('${TARGET.srcpath}'), createVersion])
|
||||||
|
|
||||||
files = [
|
files = [
|
||||||
"ABI.cpp",
|
"ABI.cpp",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user