From 809246a62d5ca91f7321f8239db50b77eaaef021 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 9 Jun 2014 10:49:53 +0800 Subject: MSVC 2010+ Projects: Update "Installation" Process Currently, due to the way that Visual Studio 2010+ projects are handled, the "install" project does not re-build upon changes to the sources, as it does not believe that its dependencies have changed, although the changed sources are automatically recompiled. This means that if a part or more of the solution does not build, or if the sources need some other fixes or enhancements, the up-to-date build is not copied automatically, which can be misleading. Improve on the situation by forcing the "install" project to trigger its rebuild, so that the updated binaries can be copied. This does trigger an MSBuild warning, but having that warning is way better than not having an up-to-date build, especially during testing and development. --- build/win32/vs10/install.vcxproj | 52 +++++++++++++++++--------------- build/win32/vs10/pango-install-bin.props | 2 +- build/win32/vs10/pango-install.propsin | 14 ++++++++- 3 files changed, 42 insertions(+), 26 deletions(-) diff --git a/build/win32/vs10/install.vcxproj b/build/win32/vs10/install.vcxproj index b8bab145..d3189107 100644 --- a/build/win32/vs10/install.vcxproj +++ b/build/win32/vs10/install.vcxproj @@ -139,45 +139,49 @@ - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - - - $(PangoDoInstallBin) $(PangoInstallHeadersData) - + + + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);%(Outputs) + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);$(InstalledFCDlls);%(Outputs) + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);%(Outputs) + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);$(InstalledFCDlls);%(Outputs) + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);%(Outputs) + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);$(InstalledFCDlls);%(Outputs) + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);%(Outputs) + Installing Build Results... + $(PangoDoInstallBin) $(PangoInstallHeadersData) + $(InstalledDlls);$(InstalledFCDlls);%(Outputs) + + {68cc80b9-7225-4fb5-b9ab-9c1df50b6c72} diff --git a/build/win32/vs10/pango-install-bin.props b/build/win32/vs10/pango-install-bin.props index 8a8ca733..9fe3235a 100644 --- a/build/win32/vs10/pango-install-bin.props +++ b/build/win32/vs10/pango-install-bin.props @@ -62,4 +62,4 @@ if "$(Configuration)" == "Debug_FC" copy $(SolutionDir)\Debug\$(Platform)\bin\pa $(PangoDoInstallBin) - \ No newline at end of file + diff --git a/build/win32/vs10/pango-install.propsin b/build/win32/vs10/pango-install.propsin index e4114759..0f73207d 100644 --- a/build/win32/vs10/pango-install.propsin +++ b/build/win32/vs10/pango-install.propsin @@ -4,6 +4,9 @@ + $(SolutionDir)$(Configuration)\$(Platform)\bin + $(BinDir)\$(PangoDllPrefix)pango(PangoDllSuffix).dll;$(BinDir)\$(PangoDllPrefix)pangowin32(PangoDllSuffix).dll;$(BinDir)\$(PangoDllPrefix)pangocairo(PangoDllSuffix).dll + $(BinDir)\$(PangoDllPrefix)pangoft2(PangoDllSuffix).dll #include "pango.vs10.headers" @@ -55,8 +58,17 @@ echo monospace = "courier new,courier monothai,mingliu,simsun,gulimche,ms gothic + + $(BinDir) + + + $(InstalledDlls) + + + $(InstalledFCDlls) + $(PangoInstallHeadersData) - \ No newline at end of file + -- cgit v1.2.1