[glib] Visual C++ Builds: Fix "install" Projects



commit 52251a5237579946f5afa2c3319bbd5504b2b92e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Sep 5 13:58:24 2013 +0800

    Visual C++ Builds: Fix "install" Projects
    
    Due to the split up of the property sheets, the install projects did not
    have info on the Intermediate and Output Paths, which caused confusing
    messages from Visual Studio to show up upon completing build+"install" and
    closing Visual Studio on whether to reload the install project, at least on
    Visual Studio 2008.
    
    Include the property sheet which defines these properties to fix this.

 build/win32/vs10/install.vcxproj |    4 ++++
 build/win32/vs9/install.vcproj   |    8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/build/win32/vs10/install.vcxproj b/build/win32/vs10/install.vcxproj
index 63a3955..c378e2f 100644
--- a/build/win32/vs10/install.vcxproj
+++ b/build/win32/vs10/install.vcxproj
@@ -52,18 +52,22 @@
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" 
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     <Import Project="glib-install.props" />
+    <Import Project="glib-build-defines.props" />
   </ImportGroup>
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" 
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     <Import Project="glib-install.props" />
+    <Import Project="glib-build-defines.props" />
   </ImportGroup>
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" 
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     <Import Project="glib-install.props" />
+    <Import Project="glib-build-defines.props" />
   </ImportGroup>
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" 
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     <Import Project="glib-install.props" />
+    <Import Project="glib-build-defines.props" />
   </ImportGroup>
   <PropertyGroup Label="UserMacros" />
   <PropertyGroup>
diff --git a/build/win32/vs9/install.vcproj b/build/win32/vs9/install.vcproj
index 6d0161d..d9876dc 100644
--- a/build/win32/vs9/install.vcproj
+++ b/build/win32/vs9/install.vcproj
@@ -21,7 +21,7 @@
        <Configurations>
                <Configuration
                        Name="Debug|Win32"
-                       InheritedPropertySheets=".\glib-install.vsprops"
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"
                        OutputDirectory="$(GlibEtcInstallRoot)"
                        ConfigurationType="10"
                        CharacterSet="2"
@@ -34,7 +34,7 @@
                </Configuration>
                <Configuration
                        Name="Debug|x64"
-                       InheritedPropertySheets=".\glib-install.vsprops"
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"
                        OutputDirectory="$(GlibEtcInstallRoot)"
                        ConfigurationType="10"
                        CharacterSet="2"
@@ -47,7 +47,7 @@
                </Configuration>
                <Configuration
                        Name="Release|Win32"
-                       InheritedPropertySheets=".\glib-install.vsprops"
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"
                        OutputDirectory="$(GlibEtcInstallRoot)"
                        ConfigurationType="10"
                        CharacterSet="2"
@@ -61,7 +61,7 @@
                </Configuration>
                <Configuration
                        Name="Release|x64"
-                       InheritedPropertySheets=".\glib-install.vsprops"
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"
                        OutputDirectory="$(GlibEtcInstallRoot)"
                        ConfigurationType="10"
                        CharacterSet="2"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]