VisualC/SDLmain/SDLmain_VS2010.vcxproj
author Jørgen P. Tjernø <jorgen@valvesoftware.com>
Wed, 13 Feb 2013 17:19:21 -0800
changeset 6873 f042ae287155
parent 5540 918efbff8259
child 7154 aa20e0c00d38
permissions -rw-r--r--
New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.

- Updated Visual Studio 2010 project with SDL 2.0 library names
- Don't use a 256 byte LUT, but rather <32 bytes of data on the stack.
- Cleanups in SDL_gamecontroller.h
     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>SDL2main</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     <CharacterSet>MultiByte</CharacterSet>
    38   </PropertyGroup>
    39   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    40     <ConfigurationType>StaticLibrary</ConfigurationType>
    41     <UseOfMfc>false</UseOfMfc>
    42   </PropertyGroup>
    43   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    44   <ImportGroup Label="ExtensionSettings">
    45   </ImportGroup>
    46   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    47     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    48     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    49   </ImportGroup>
    50   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    51     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    52     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    53   </ImportGroup>
    54   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
    55     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    56     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    57   </ImportGroup>
    58   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    59     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    60     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
    61   </ImportGroup>
    62   <PropertyGroup Label="UserMacros" />
    63   <PropertyGroup>
    64     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    65     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir>
    66     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
    67     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
    68     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
    69     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir>
    70     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
    71     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
    72     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
    73   </PropertyGroup>
    74   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    75     <PreBuildEvent />
    76     <ClCompile>
    77       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    78       <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    79       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    80       <StringPooling>true</StringPooling>
    81       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    82       <FunctionLevelLinking>true</FunctionLevelLinking>
    83       <PrecompiledHeader>
    84       </PrecompiledHeader>
    85       <WarningLevel>Level3</WarningLevel>
    86       <SuppressStartupBanner>true</SuppressStartupBanner>
    87       <CompileAs>Default</CompileAs>
    88     </ClCompile>
    89     <Lib>
    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       <WarningLevel>Level3</WarningLevel>
   107       <SuppressStartupBanner>true</SuppressStartupBanner>
   108       <CompileAs>Default</CompileAs>
   109     </ClCompile>
   110     <Lib>
   111       <SuppressStartupBanner>true</SuppressStartupBanner>
   112     </Lib>
   113   </ItemDefinitionGroup>
   114   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   115     <PreBuildEvent />
   116     <ClCompile>
   117       <Optimization>Disabled</Optimization>
   118       <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   119       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   120       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
   121       <PrecompiledHeader>
   122       </PrecompiledHeader>
   123       <WarningLevel>Level3</WarningLevel>
   124       <SuppressStartupBanner>true</SuppressStartupBanner>
   125       <DebugInformationFormat>OldStyle</DebugInformationFormat>
   126       <CompileAs>Default</CompileAs>
   127     </ClCompile>
   128     <Lib>
   129       <SuppressStartupBanner>true</SuppressStartupBanner>
   130     </Lib>
   131   </ItemDefinitionGroup>
   132   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
   133     <Midl>
   134       <TargetEnvironment>X64</TargetEnvironment>
   135     </Midl>
   136     <ClCompile>
   137       <Optimization>Disabled</Optimization>
   138       <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   139       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   140       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
   141       <PrecompiledHeader>
   142       </PrecompiledHeader>
   143       <PrecompiledHeaderOutputFile>.\Debug/SDLmain.pch</PrecompiledHeaderOutputFile>
   144       <WarningLevel>Level3</WarningLevel>
   145       <SuppressStartupBanner>true</SuppressStartupBanner>
   146       <DebugInformationFormat>OldStyle</DebugInformationFormat>
   147       <CompileAs>Default</CompileAs>
   148     </ClCompile>
   149     <Lib>
   150       <SuppressStartupBanner>true</SuppressStartupBanner>
   151     </Lib>
   152   </ItemDefinitionGroup>
   153   <ItemGroup>
   154     <ClCompile Include="..\..\src\main\windows\SDL_windows_main.c" />
   155   </ItemGroup>
   156   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   157   <ImportGroup Label="ExtensionTargets">
   158   </ImportGroup>
   159 </Project>