 ed5649a44b
			
		
	
	ed5649a44b
	
	
	
		
			
			Since we are linking in the resource items by the source, we need to disable WholeProgramOptimization so that the resource stuff does get linked into the demo binaries, so that they can be loaded properly. Also make sure that gtk3-demo-application is also built with the multibyte character set, like the rest. This should fix bug 694342, at least for Visual Studio builds.
		
			
				
	
	
		
			170 lines
		
	
	
		
			8.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			170 lines
		
	
	
		
			8.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <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>
 | |
|     </ProjectConfiguration>
 | |
|     <ProjectConfiguration Include="Release|x64">
 | |
|       <Configuration>Release</Configuration>
 | |
|       <Platform>x64</Platform>
 | |
|     </ProjectConfiguration>
 | |
|   </ItemGroup>
 | |
|   <PropertyGroup Label="Globals">
 | |
|     <ProjectGuid>{3281202A-CD26-4C67-B892-EB34BDBC612F}</ProjectGuid>
 | |
|     <RootNamespace>gtk3demoapplication</RootNamespace>
 | |
|     <Keyword>Win32Proj</Keyword>
 | |
|   </PropertyGroup>
 | |
|   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <CharacterSet>MultiByte</CharacterSet>
 | |
|     <WholeProgramOptimization>false</WholeProgramOptimization>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <CharacterSet>MultiByte</CharacterSet>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <CharacterSet>MultiByte</CharacterSet>
 | |
|     <WholeProgramOptimization>false</WholeProgramOptimization>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <CharacterSet>MultiByte</CharacterSet>
 | |
|   </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" />
 | |
|     <Import Project="gtk+.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="gtk+.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="gtk+.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="gtk+.props" />
 | |
|   </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>
 | |
|       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <MinimalRebuild>true</MinimalRebuild>
 | |
|       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 | |
|       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
 | |
|       <PrecompiledHeader>
 | |
|       </PrecompiledHeader>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <TargetMachine>MachineX86</TargetMachine>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
 | |
|     <ClCompile>
 | |
|       <Optimization>MaxSpeed</Optimization>
 | |
|       <IntrinsicFunctions>true</IntrinsicFunctions>
 | |
|       <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
 | |
|       <FunctionLevelLinking>false</FunctionLevelLinking>
 | |
|       <PrecompiledHeader>
 | |
|       </PrecompiledHeader>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <OptimizeReferences>true</OptimizeReferences>
 | |
|       <EnableCOMDATFolding>true</EnableCOMDATFolding>
 | |
|       <TargetMachine>MachineX86</TargetMachine>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 | |
|     <Midl>
 | |
|       <TargetEnvironment>X64</TargetEnvironment>
 | |
|     </Midl>
 | |
|     <ClCompile>
 | |
|       <Optimization>Disabled</Optimization>
 | |
|       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <MinimalRebuild>true</MinimalRebuild>
 | |
|       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 | |
|       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
 | |
|       <PrecompiledHeader>
 | |
|       </PrecompiledHeader>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <TargetMachine>MachineX64</TargetMachine>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 | |
|     <Midl>
 | |
|       <TargetEnvironment>X64</TargetEnvironment>
 | |
|     </Midl>
 | |
|     <ClCompile>
 | |
|       <Optimization>MaxSpeed</Optimization>
 | |
|       <IntrinsicFunctions>true</IntrinsicFunctions>
 | |
|       <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
 | |
|       <FunctionLevelLinking>false</FunctionLevelLinking>
 | |
|       <PrecompiledHeader>
 | |
|       </PrecompiledHeader>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <OptimizeReferences>true</OptimizeReferences>
 | |
|       <EnableCOMDATFolding>true</EnableCOMDATFolding>
 | |
|       <TargetMachine>MachineX64</TargetMachine>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemGroup>
 | |
|     <ClCompile Include="..\..\..\demos\gtk-demo\application-standalone.c" />
 | |
|     <ClCompile Include="..\..\..\demos\gtk-demo\demo_resources.c" />
 | |
|   </ItemGroup>
 | |
|   <ItemGroup>
 | |
|     <ProjectReference Include="gdk.vcxproj">
 | |
|       <Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f7}</Project>
 | |
|       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
 | |
|     </ProjectReference>
 | |
|     <ProjectReference Include="gtk.vcxproj">
 | |
|       <Project>{fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f5}</Project>
 | |
|       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
 | |
|     </ProjectReference>
 | |
|   </ItemGroup>
 | |
|   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 | |
|   <ImportGroup Label="ExtensionTargets">
 | |
|   </ImportGroup>
 | |
| </Project> |