[gtkmm/win32-installer-update-3: 9/13] win32_installer: Re-organize the MSVS property sheets
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/win32-installer-update-3: 9/13] win32_installer: Re-organize the MSVS property sheets
- Date: Wed, 11 May 2022 09:50:01 +0000 (UTC)
commit 20f498de493c97cc14e011c3fadb738f1627db18
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Aug 3 15:37:36 2021 +0800
win32_installer: Re-organize the MSVS property sheets
We can drop the vs80 and vs90 property sheets, as it has been a while since we
can build gtkmm with Visual Studio 2005/2008. Also, update the 2010 one so
that things fit with the current situation, as format-wise it is very much the
same with the format of the Visual Studio 2015+ property sheets, so make sure
that we dist that file as well.
Also, stop setting things up for libglade/libglademm (dropped for gtkmm-3.x)
and libxml++ (gtkmm applications may not be using libxml++), and clean things
up in there as well.
For the Visual Studio builds, the file names are based on those used by the
Meson builds.
win32_installer/filelist.am | 5 +----
win32_installer/gtkmm-3.0.props | 30 ++++++++++++++++++++++++++++++
win32_installer/gtkmm-vc100-2_4.props | 19 -------------------
win32_installer/gtkmm-vc100-d-2_4.props | 19 -------------------
win32_installer/gtkmm-vc80-2_4.vsprops | 18 ------------------
win32_installer/gtkmm-vc80-d-2_4.vsprops | 18 ------------------
win32_installer/gtkmm-vc90-2_4.vsprops | 18 ------------------
win32_installer/gtkmm-vc90-d-2_4.vsprops | 18 ------------------
8 files changed, 31 insertions(+), 114 deletions(-)
---
diff --git a/win32_installer/filelist.am b/win32_installer/filelist.am
index 6e61c23a..5c97ff50 100644
--- a/win32_installer/filelist.am
+++ b/win32_installer/filelist.am
@@ -4,10 +4,7 @@ windows_installer_data = \
README \
build-installer \
gtkmm-installer.nsi \
- gtkmm-vc80-2_4.vsprops \
- gtkmm-vc80-d-2_4.vsprops \
- gtkmm-vc90-2_4.vsprops \
- gtkmm-vc90-d-2_4.vsprops \
+ gtkmm-3.0.props \
gtkmm.ico \
gtkmm_win32.txt \
install-msvc-module \
diff --git a/win32_installer/gtkmm-3.0.props b/win32_installer/gtkmm-3.0.props
new file mode 100644
index 00000000..3b5ea3b6
--- /dev/null
+++ b/win32_installer/gtkmm-3.0.props
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+ <ImportGroup Label="PropertySheets" />
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup>
+ <_PropertySheetDisplayName>gtkmm-3.0 MSVC</_PropertySheetDisplayName>
+ </PropertyGroup>
+ <PropertyGroup Label="UserMacros">
+ <!-- comment out the following 2 lines and uncomment the next 3 lines, or edit as needed-->
+ <VSVer Condition="'$(Platform)' == 'arm64'">141</VSVer>
+ <VSVer Condition="'$(Platform)' != 'arm64'">140</VSVer>
+ <!-- VSVer Condition="'$(VisualStudioVersion)' == '14.0'">140</VSVer-->
+ <!-- VSVer Condition="'$(VisualStudioVersion)' == '14.1'">141</VSVer-->
+ <!-- VSVer Condition="'$(VisualStudioVersion)' == '14.1'">142</VSVer-->
+ <!-- Select the configuration that suits your gtk+-3.x .lib naming -->
+ <GTK3LibVer>3.0</GTK3LibVer>
+ <!--GTK3LibVer>3</GTK3LibVer -->
+ </PropertyGroup>
+ <ItemDefinitionGroup>
+ <Link>
+
<AdditionalDependencies>gtkmm-vc$(VSVer)-3.0.lib;gdkmm-vc$(VSVer)-3.0.lib;atkmm-vc$(VSVer)-1.6.lib;pangomm-vc$(VSVer)-1.4.lib;cairomm-vc$(VSVer)-1.0.lib;giomm-vc$(VSVer)-2.4.lib;glibmm-vc$(VSVer)-2.4.lib;sigc-2_0.lib;gtk-$(GTK3LibVer).lib;gdk-$(GTK3LibVer).lib;gdk_pixbuf-2.0.lib;atk-1.0.lib;pangowin32-1.0.lib;pangocairo-1.0.lib;pango-1.0.lib;harfbuzz.lib;cairo-gobject.lib;epoxy.lib;cairo.lib;gio-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;glib-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>
+
<AdditionalLibraryDirectories>$(GTKMM_BASEPATH)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ </Link>
+ <ClCompile>
+ <DisableSpecificWarnings>4250</DisableSpecificWarnings>
+
<AdditionalIncludeDirectories>$(GTKMM_BASEPATH)\include;$(GTKMM_BASEPATH)\include\glib-2.0;$(GTKMM_BASEPATH)\include\harfbuzz;$(GTKMM_BASEPATH)\include\pango-1.0;$(GTKMM_BASEPATH)\include\atk-1.0;$(GTKMM_BASEPATH)\include\gdk-pixbuf-2.0;$(GTKMM_BASEPATH)\include\gtk-2.0;$(GTKMM_BASEPATH)\include\sigc++-2.0;$(GTKMM_BASEPATH)\include\glibmm-2.4;$(GTKMM_BASEPATH)\include\giomm-2.4;$(GTKMM_BASEPATH)\include\cairomm-1.0;$(GTKMM_BASEPATH)\include\pangomm-1.4;$(GTKMM_BASEPATH)\include\atkmm-1.6;$(GTKMM_BASEPATH)\include\gdkmm-3.0;$(GTKMM_BASEPATH)\include\gtkmm-3.0;$(GTKMM_BASEPATH)\include\libglademm-2.4;$(GTKMM_BASEPATH)\lib\glib-2.0\include;$(GTKMM_BASEPATH)\lib\gtk-2.0\include;$(GTKMM_BASEPATH)\lib\sigc++-2.0\include;$(GTKMM_BASEPATH)\lib\glibmm-2.4\include;$(GTKMM_BASEPATH)\lib\giomm-2.4\include;$(GTKMM_BASEPATH)\lib\cairomm-1.0\include;$(GTKMM_BASEPATH)\lib\pangomm-1.4\include;$(GTKMM_BASEPATH)\lib\atkmm-1.6\include;$(GTKMM_BASEPATH)\lib\gdkmm-3.0\include;$(GTKMM_BASEPATH)\lib\
gtkmm-3.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup />
+</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]