From 7713ea20e00f2865ead74e404a67ee22fd4d59cd Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sun, 16 Jan 2011 23:51:41 +0000 Subject: [PATCH] Produce a default config_windows.h file if one doesn't already exist. Allow setting the BUILD_CREDIT define through a property page. Originally committed to SVN as r5224. --- aegisub/build/msbuild/Aegisub/Aegisub.targets | 40 ++++++++++++-- aegisub/build/msbuild/Aegisub/Aegisub.vcxproj | 5 ++ aegisub/build/msbuild/Aegisub/Aegisub.xml | 55 +++++++++++++------ 3 files changed, 80 insertions(+), 20 deletions(-) diff --git a/aegisub/build/msbuild/Aegisub/Aegisub.targets b/aegisub/build/msbuild/Aegisub/Aegisub.targets index 217439d5a..af18fd45d 100644 --- a/aegisub/build/msbuild/Aegisub/Aegisub.targets +++ b/aegisub/build/msbuild/Aegisub/Aegisub.targets @@ -63,12 +63,44 @@ /> + + + true + + + + + + + + + + + BUILD_CREDIT="$(AegisubBuildCredit)";%(PreprocessorDefinitions) + + + + - - - SubWCRev - + \ No newline at end of file diff --git a/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj b/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj index 6bdfcd091..97c5b75d6 100644 --- a/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj +++ b/aegisub/build/msbuild/Aegisub/Aegisub.vcxproj @@ -82,10 +82,15 @@ $(AegisubSourceBase)build\svn-revision.h $(AegisubSourceBase)\. + + $(AegisubSourceBase)src\config\config_windows0.h + $(AegisubSourceBase)src\config\config_windows.h + + diff --git a/aegisub/build/msbuild/Aegisub/Aegisub.xml b/aegisub/build/msbuild/Aegisub/Aegisub.xml index 57a15ca1c..78d8f0d82 100644 --- a/aegisub/build/msbuild/Aegisub/Aegisub.xml +++ b/aegisub/build/msbuild/Aegisub/Aegisub.xml @@ -32,24 +32,32 @@ $Id$ --> - + - - - + + + + + + ReadOnly="true" + > + + + + + ReadOnly="true" + > + + + + + ReadOnly="true" + > + + + +