summaryrefslogtreecommitdiff
path: root/build/win32/vs9
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2011-09-16 15:51:00 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2011-09-16 15:51:00 +0800
commit8952c88b75d8ce439397c94e1327641c128e2073 (patch)
tree0cfd2ae4b489ae85d17bcea80c5be3518508b415 /build/win32/vs9
parent080d4dc38f7ad951adebe728e999f48d7db2eb8c (diff)
downloadpango-8952c88b75d8ce439397c94e1327641c128e2073.tar.gz
VS support: Fix VS2008/2010 property sheets
-Seperate intermediate folders for each project to remove redundant VS warnings/errors -Don't create a folder for pango.aliases if the folder already exists -Don't create pango.aliases if it already exists
Diffstat (limited to 'build/win32/vs9')
-rw-r--r--build/win32/vs9/pango.vsprops7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/win32/vs9/pango.vsprops b/build/win32/vs9/pango.vsprops
index b41aa1c6..b002ff9e 100644
--- a/build/win32/vs9/pango.vsprops
+++ b/build/win32/vs9/pango.vsprops
@@ -4,7 +4,7 @@
Version="8.00"
Name="pangoprops"
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
- IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj"
+ IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
>
<Tool
Name="VCCLCompilerTool"
@@ -106,11 +106,14 @@ copy ..\..\..\pango\pango-utils.h $(OutDir)\include\pango-$(PangoApiVersion)\pan
copy ..\..\..\pango\pangocairo.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
copy ..\..\..\pango\pangowin32.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
-mkdir $(OutDir)\etc\pango&#x0D;&#x0A;
+if not exist $(OutDir)\etc\pango mkdir $(OutDir)\etc\pango&#x0D;&#x0A;
+
+if exist $(OutDir)\etc\pango\pango.aliases goto END&#x0D;&#x0A;
echo tahoma = &quot;tahoma,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal&quot; > $(OutDir)\etc\pango\pango.aliases&#x0D;&#x0A;
echo sans = &quot;arial,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal&quot; >> $(OutDir)\etc\pango\pango.aliases&#x0D;&#x0A;
echo serif = &quot;times new roman,angsana new,mingliu,simsun,gulimche,ms gothic,latha,mangal&quot; >> $(OutDir)\etc\pango\pango.aliases&#x0D;&#x0A;
echo monospace = &quot;courier new,courier monothai,mingliu,simsun,gulimche,ms gothic,latha,mangal&quot; >> $(OutDir)\etc\pango\pango.aliases&#x0D;&#x0A;
+:END
"
/>
<UserMacro