2016-05-09 07:35:26 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-08-25 09:41:55 +00:00
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Label="Globals">
|
2015-09-21 08:50:00 +00:00
|
|
|
<ProjectGuid>{95A4B53D-2773-4406-A2C1-8FD2840BBAD8}</ProjectGuid>
|
2016-10-19 10:39:36 +00:00
|
|
|
<RootNamespace>gtk4</RootNamespace>
|
2015-08-25 09:41:55 +00:00
|
|
|
<Keyword>Win32Proj</Keyword>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
|
|
<PlatformToolset>v100</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
|
|
<PlatformToolset>v100</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
|
|
<PlatformToolset>v100</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
|
|
<PlatformToolset>v100</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
</ImportGroup>
|
|
|
|
<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" />
|
2016-10-19 10:39:36 +00:00
|
|
|
<Import Project="gtk4-gen-srcs.props" />
|
2015-08-25 09:41:55 +00:00
|
|
|
</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" />
|
2016-10-19 10:39:36 +00:00
|
|
|
<Import Project="gtk4-gen-srcs.props" />
|
2015-08-25 09:41:55 +00:00
|
|
|
</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" />
|
2016-10-19 10:39:36 +00:00
|
|
|
<Import Project="gtk4-gen-srcs.props" />
|
2015-08-25 09:41:55 +00:00
|
|
|
</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" />
|
2016-10-19 10:39:36 +00:00
|
|
|
<Import Project="gtk4-gen-srcs.props" />
|
2015-08-25 09:41:55 +00:00
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
<PropertyGroup>
|
|
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
|
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
|
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
|
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<AdditionalIncludeDirectories>..\..\..\gtk;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2016-05-09 07:35:26 +00:00
|
|
|
<AdditionalDependencies>$(GtkAdditionalLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
2015-08-25 09:41:55 +00:00
|
|
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
2015-10-23 02:33:41 +00:00
|
|
|
<ImportLibrary>$(TargetDir)$(ProjectName).0.lib</ImportLibrary>
|
2015-08-25 09:41:55 +00:00
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<ProgramDatabaseFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).pdb</ProgramDatabaseFile>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<AdditionalIncludeDirectories>..\..\..\gtk;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PreprocessorDefinitions>$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2016-05-09 07:35:26 +00:00
|
|
|
<AdditionalDependencies>$(GtkAdditionalLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
2015-08-25 09:41:55 +00:00
|
|
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
2015-10-23 02:33:41 +00:00
|
|
|
<ImportLibrary>$(TargetDir)$(ProjectName).0.lib</ImportLibrary>
|
2015-08-25 09:41:55 +00:00
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<ProgramDatabaseFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).pdb</ProgramDatabaseFile>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<AdditionalIncludeDirectories>..\..\..\gtk;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;G_ENABLE_DEBUG;$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2016-05-09 07:35:26 +00:00
|
|
|
<AdditionalDependencies>$(GtkAdditionalLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
2015-08-25 09:41:55 +00:00
|
|
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
2015-10-23 02:33:41 +00:00
|
|
|
<ImportLibrary>$(TargetDir)$(ProjectName).0.lib</ImportLibrary>
|
2015-08-25 09:41:55 +00:00
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<ProgramDatabaseFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).pdb</ProgramDatabaseFile>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<AdditionalIncludeDirectories>..\..\..\gtk;..\..\..\gdk;..\..\..\gdk\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PreprocessorDefinitions>$(GtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2016-05-09 07:35:26 +00:00
|
|
|
<AdditionalDependencies>$(GtkAdditionalLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
2015-08-25 09:41:55 +00:00
|
|
|
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>
|
2015-10-23 02:33:41 +00:00
|
|
|
<ImportLibrary>$(TargetDir)$(ProjectName).0.lib</ImportLibrary>
|
2015-08-25 09:41:55 +00:00
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<ProgramDatabaseFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).pdb</ProgramDatabaseFile>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<CustomBuild Include="..\..\..\gtk\gtkdbusinterfaces.xml">
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating GTK+ DBus Sources...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenerateGtkDbusBuiltSources)</Command>
|
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h;%(Outputs)</Outputs>
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating GTK+ DBus Sources...</Message>
|
2016-04-26 08:27:32 +00:00
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenerateGtkDbusBuiltSourcesX64)</Command>
|
2015-08-25 09:41:55 +00:00
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h;%(Outputs)</Outputs>
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating GTK+ DBus Sources...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenerateGtkDbusBuiltSources)</Command>
|
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h;%(Outputs)</Outputs>
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating GTK+ DBus Sources...</Message>
|
2016-04-26 08:27:32 +00:00
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenerateGtkDbusBuiltSourcesX64)</Command>
|
2015-08-25 09:41:55 +00:00
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h;%(Outputs)</Outputs>
|
|
|
|
</CustomBuild>
|
Windows: Update how gtk-win32.rc is generated
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file. This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.
Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
and generate the full libgtk3.manifest file.
https://bugzilla.gnome.org/show_bug.cgi?id=762311
2016-02-22 09:38:15 +00:00
|
|
|
<CustomBuild Include="..\..\..\gtk\gtk-win32.rc.body">
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying GTK+ Win32 Version Resource...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(CopyGtkWin32RC)</Command>
|
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\gtk\gtk-win32.rc;%(Outputs)</Outputs>
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Copying GTK+ Win32 Version Resource...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(CopyGtkWin32RC)</Command>
|
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\gtk\gtk-win32.rc;%(Outputs)</Outputs>
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying GTK+ Win32 Version Resource...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(CopyGtkWin32RC)</Command>
|
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\gtk\gtk-win32.rc;%(Outputs)</Outputs>
|
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Copying GTK+ Win32 Version Resource...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(CopyGtkWin32RC)</Command>
|
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\gtk\gtk-win32.rc;%(Outputs)</Outputs>
|
|
|
|
</CustomBuild>
|
2016-10-19 10:39:36 +00:00
|
|
|
<CustomBuild Include="..\..\..\gtk\libgtk4.manifest.in">
|
Windows: Update how gtk-win32.rc is generated
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file. This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.
Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
and generate the full libgtk3.manifest file.
https://bugzilla.gnome.org/show_bug.cgi?id=762311
2016-02-22 09:38:15 +00:00
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating GTK+ Win32 Manifest...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenerateGtkWin32Manifest)</Command>
|
2016-10-19 10:39:36 +00:00
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\gtk\libgtk4.manifest;%(Outputs)</Outputs>
|
Windows: Update how gtk-win32.rc is generated
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file. This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.
Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
and generate the full libgtk3.manifest file.
https://bugzilla.gnome.org/show_bug.cgi?id=762311
2016-02-22 09:38:15 +00:00
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating GTK+ Win32 Manifest...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenerateGtkWin32Manifest)</Command>
|
2016-10-19 10:39:36 +00:00
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\gtk\libgtk4.manifest;%(Outputs)</Outputs>
|
Windows: Update how gtk-win32.rc is generated
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file. This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.
Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
and generate the full libgtk3.manifest file.
https://bugzilla.gnome.org/show_bug.cgi?id=762311
2016-02-22 09:38:15 +00:00
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating GTK+ Win32 Manifest...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenerateGtkWin32Manifest)</Command>
|
2016-10-19 10:39:36 +00:00
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\gtk\libgtk4.manifest;%(Outputs)</Outputs>
|
Windows: Update how gtk-win32.rc is generated
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file. This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.
Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
and generate the full libgtk3.manifest file.
https://bugzilla.gnome.org/show_bug.cgi?id=762311
2016-02-22 09:38:15 +00:00
|
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating GTK+ Win32 Manifest...</Message>
|
|
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenerateGtkWin32Manifest)</Command>
|
2016-10-19 10:39:36 +00:00
|
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\gtk\libgtk4.manifest;%(Outputs)</Outputs>
|
2015-08-25 09:41:55 +00:00
|
|
|
</CustomBuild>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ResourceCompile Include="..\..\..\gtk\gtk-win32.rc" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2016-10-19 10:39:36 +00:00
|
|
|
#include "gtk-4.vs10.sourcefiles"
|
2015-08-25 09:41:55 +00:00
|
|
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextime.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextmultipress.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextthai.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imam-et.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imcedilla.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imcyrillic-translit.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imime.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\iminuktitut.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imipa.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\immultipress.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imthai.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imti-er.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imti-et.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\imviqr.c" />
|
|
|
|
<ClCompile Include="..\..\..\modules\input\thai-charprop.c" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2016-10-19 10:39:36 +00:00
|
|
|
<Manifest Include="..\..\..\gtk\libgtk4.manifest" />
|
2015-08-25 09:41:55 +00:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2016-10-19 10:39:36 +00:00
|
|
|
<ProjectReference Include="gdk-4.vcxproj">
|
2015-09-21 08:50:00 +00:00
|
|
|
<Project>{5ae8f5ce-9103-4951-aede-ea2f3b573be8}</Project>
|
2015-08-25 09:41:55 +00:00
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
</ProjectReference>
|
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
|
|
|
</Project>
|