VisualC/SDLmain/SDLmain_VS2010.vcxproj
author Sam Lantinga <slouken@libsdl.org>
Sat, 26 Feb 2011 10:11:09 -0800
changeset 5398 83816c8a2b58
parent 5338 dcd605b45ee5
child 5540 918efbff8259
permissions -rw-r--r--
Restore the windowed position and size when coming back from fullscreen.
Also fixed problem where Cocoa would move the windows in response to the fullscreen mode change.
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3   <ItemGroup Label="ProjectConfigurations">
     4     <ProjectConfiguration Include="Debug|Win32">
     5       <Configuration>Debug</Configuration>
     6       <Platform>Win32</Platform>
     7     </ProjectConfiguration>
     8     <ProjectConfiguration Include="Debug|x64">
     9       <Configuration>Debug</Configuration>
    10       <Platform>x64</Platform>
    11     </ProjectConfiguration>
    12     <ProjectConfiguration Include="Release|Win32">
    13       <Configuration>Release</Configuration>
    14       <Platform>Win32</Platform>
    15     </ProjectConfiguration>
    16     <ProjectConfiguration Include="Release|x64">
    17       <Configuration>Release</Configuration>
    18       <Platform>x64</Platform>
    19     </ProjectConfiguration>
    20   </ItemGroup>
    21   <PropertyGroup Label="Globals">
    22     <ProjectName>SDLmain</ProjectName>
    23     <ProjectGuid>{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}</ProjectGuid>
    24   </PropertyGroup>
    25   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    26   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    27     <ConfigurationType>StaticLibrary</ConfigurationType>
    28     <UseOfMfc>false</UseOfMfc>
    29   </PropertyGroup>
    30   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    31     <ConfigurationType>StaticLibrary</ConfigurationType>
    32     <UseOfMfc>false</UseOfMfc>
    33   </PropertyGroup>
    34   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
    35     <ConfigurationType>StaticLibrary</ConfigurationType>
    36     <UseOfMfc>false</UseOfMfc>
    37   </PropertyGroup>
    38   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    39     <ConfigurationType>StaticLibrary</ConfigurationType>
    40     <UseOfMfc>false</UseOfMfc>
    41   </PropertyGroup>
    42   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    43   <ImportGroup Label="ExtensionSettings">
    44   </ImportGroup>
    45   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    46     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    47     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    48   </ImportGroup>
    49   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    50     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    51     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    52   </ImportGroup>
    53   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    54     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    55     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    56   </ImportGroup>
    57   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    58     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    59     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    60   </ImportGroup>
    61   <PropertyGroup Label="UserMacros" />
    62   <PropertyGroup>
    63     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    64     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
    65     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
    66     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
    67     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
    68     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
    69     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
    70     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
    71     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
    72   </PropertyGroup>
    73   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    74     <PreBuildEvent />
    75     <ClCompile>
    76       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    77       <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    78       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    79       <StringPooling>true</StringPooling>
    80       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    81       <FunctionLevelLinking>true</FunctionLevelLinking>
    82       <PrecompiledHeader>
    83       </PrecompiledHeader>
    84       <WarningLevel>Level3</WarningLevel>
    85       <SuppressStartupBanner>true</SuppressStartupBanner>
    86       <CompileAs>Default</CompileAs>
    87     </ClCompile>
    88     <Lib>
    89       <OutputFile>.\Release\SDLmain.lib</OutputFile>
    90       <SuppressStartupBanner>true</SuppressStartupBanner>
    91     </Lib>
    92   </ItemDefinitionGroup>
    93   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    94     <Midl>
    95       <TargetEnvironment>X64</TargetEnvironment>
    96     </Midl>
    97     <ClCompile>
    98       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    99       <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   100       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   101       <StringPooling>true</StringPooling>
   102       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   103       <FunctionLevelLinking>true</FunctionLevelLinking>
   104       <PrecompiledHeader>
   105       </PrecompiledHeader>
   106       <PrecompiledHeaderOutputFile>.\Release/SDLmain.pch</PrecompiledHeaderOutputFile>
   107       <WarningLevel>Level3</WarningLevel>
   108       <SuppressStartupBanner>true</SuppressStartupBanner>
   109       <CompileAs>Default</CompileAs>
   110     </ClCompile>
   111     <Lib>
   112       <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   113     </Lib>
   114   </ItemDefinitionGroup>
   115   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   116     <PreBuildEvent />
   117     <ClCompile>
   118       <Optimization>Disabled</Optimization>
   119       <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   120       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   121       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
   122       <PrecompiledHeader>
   123       </PrecompiledHeader>
   124       <WarningLevel>Level3</WarningLevel>
   125       <SuppressStartupBanner>true</SuppressStartupBanner>
   126       <DebugInformationFormat>OldStyle</DebugInformationFormat>
   127       <CompileAs>Default</CompileAs>
   128     </ClCompile>
   129     <Lib>
   130       <OutputFile>.\Debug\SDLmain.lib</OutputFile>
   131       <SuppressStartupBanner>true</SuppressStartupBanner>
   132     </Lib>
   133   </ItemDefinitionGroup>
   134   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   135     <Midl>
   136       <TargetEnvironment>X64</TargetEnvironment>
   137     </Midl>
   138     <ClCompile>
   139       <Optimization>Disabled</Optimization>
   140       <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   141       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   142       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
   143       <PrecompiledHeader>
   144       </PrecompiledHeader>
   145       <PrecompiledHeaderOutputFile>.\Debug/SDLmain.pch</PrecompiledHeaderOutputFile>
   146       <WarningLevel>Level3</WarningLevel>
   147       <SuppressStartupBanner>true</SuppressStartupBanner>
   148       <DebugInformationFormat>OldStyle</DebugInformationFormat>
   149       <CompileAs>Default</CompileAs>
   150     </ClCompile>
   151     <Lib>
   152       <OutputFile>$(IntDir)SDLmain.lib</OutputFile>
   153     </Lib>
   154   </ItemDefinitionGroup>
   155   <ItemGroup>
   156     <ClCompile Include="..\..\src\main\windows\SDL_windows_main.c" />
   157   </ItemGroup>
   158   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   159   <ImportGroup Label="ExtensionTargets">
   160   </ImportGroup>
   161 </Project>