Visual C++ Builds: Fix "install" Projects
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 5 Sep 2013 05:58:24 +0000 (13:58 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 5 Sep 2013 05:59:02 +0000 (13:59 +0800)
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
build/win32/vs9/install.vcproj

index 63a3955..c378e2f 100644 (file)
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">\r
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
     <Import Project="glib-install.props" />\r
+    <Import Project="glib-build-defines.props" />\r
   </ImportGroup>\r
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">\r
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
     <Import Project="glib-install.props" />\r
+    <Import Project="glib-build-defines.props" />\r
   </ImportGroup>\r
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">\r
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
     <Import Project="glib-install.props" />\r
+    <Import Project="glib-build-defines.props" />\r
   </ImportGroup>\r
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">\r
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
     <Import Project="glib-install.props" />\r
+    <Import Project="glib-build-defines.props" />\r
   </ImportGroup>\r
   <PropertyGroup Label="UserMacros" />\r
   <PropertyGroup>\r
index 6d0161d..d9876dc 100644 (file)
@@ -21,7 +21,7 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       InheritedPropertySheets=".\glib-install.vsprops"\r
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"\r
                        OutputDirectory="$(GlibEtcInstallRoot)"\r
                        ConfigurationType="10"\r
                        CharacterSet="2"\r
@@ -34,7 +34,7 @@
                </Configuration>\r
                <Configuration\r
                        Name="Debug|x64"\r
-                       InheritedPropertySheets=".\glib-install.vsprops"\r
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"\r
                        OutputDirectory="$(GlibEtcInstallRoot)"\r
                        ConfigurationType="10"\r
                        CharacterSet="2"\r
@@ -47,7 +47,7 @@
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       InheritedPropertySheets=".\glib-install.vsprops"\r
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"\r
                        OutputDirectory="$(GlibEtcInstallRoot)"\r
                        ConfigurationType="10"\r
                        CharacterSet="2"\r
@@ -61,7 +61,7 @@
                </Configuration>\r
                <Configuration\r
                        Name="Release|x64"\r
-                       InheritedPropertySheets=".\glib-install.vsprops"\r
+                       InheritedPropertySheets=".\glib-install.vsprops;.\glib-build-defines.vsprops"\r
                        OutputDirectory="$(GlibEtcInstallRoot)"\r
                        ConfigurationType="10"\r
                        CharacterSet="2"\r