Various Windows build fixes (bug 5997 part 13, r=ds).

--HG--
rename : sourcepawn/compiler/libpawnc.rc => sourcepawn/compiler/version.rc
This commit is contained in:
David Anderson
2013-12-30 17:51:00 -05:00
parent ae21f29ad9
commit 6d320163a1
4 changed files with 15 additions and 3 deletions
+4 -2
View File
@@ -252,7 +252,8 @@ class SMConfig(object):
binary.sources += ['version.rc']
binary.compiler.rcdefines += [
'BINARY_NAME="{0}"'.format(binary.outputFile),
'SM_GENERATED_BUILD'
'SM_GENERATED_BUILD',
'RC_COMPILE',
]
elif builder.target_platform == 'mac':
binary.compiler.postlink += [
@@ -269,7 +270,8 @@ class SMConfig(object):
binary.sources += ['version.rc']
binary.compiler.rcdefines += [
'BINARY_NAME="{0}"'.format(binary.outputFile),
'SM_GENERATED_BUILD'
'SM_GENERATED_BUILD',
'RC_COMPILE',
]
binary.compiler.linkflags += [self.versionlib]
binary.compiler.sourcedeps += SM.generated_headers