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>
|
||||
<Files>
|
||||
<File
|
||||
RelativePath=".\da.po"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\de.po"
|
||||
>
|
||||
|
|
|
@ -3,10 +3,13 @@
|
|||
Import('env')
|
||||
import os
|
||||
import sys
|
||||
from SconsTests import utils
|
||||
|
||||
utils.GenerateRevFile(env['flavor'], Dir('#Source/Core/Common/Src').abspath +
|
||||
os.sep + 'svnrev_template.h', 'svnrev.h')
|
||||
def createVersion(env, target, source):
|
||||
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 = [
|
||||
"ABI.cpp",
|
||||
|
|
Loading…
Reference in New Issue