VisualC/SDLmain/SDLmain_VS2010.vcxproj
author Sam Lantinga <slouken@libsdl.org>
Sat, 07 Jun 2014 21:58:18 -0700
changeset 8843 ef2955271c4f
parent 7154 aa20e0c00d38
child 8915 49714dc4e195
permissions -rw-r--r--
Updated projects for Visual Studio 2010, 2012 and 2013
* Test programs use project references instead of hard-coding SDL library dependencies
* Test data files are copied only when needed.
* Copying SDL2.dll is no longer necessary
* Fixed /SAFESEH warning
* Fixed attempted rebuild of SDL every time a test program is run
slouken@8843
     1
<?xml version="1.0" encoding="utf-8"?>
slouken@8843
     2
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
slouken@8843
     3
  <ItemGroup Label="ProjectConfigurations">
slouken@8843
     4
    <ProjectConfiguration Include="Debug|Win32">
slouken@8843
     5
      <Configuration>Debug</Configuration>
slouken@8843
     6
      <Platform>Win32</Platform>
slouken@8843
     7
    </ProjectConfiguration>
slouken@8843
     8
    <ProjectConfiguration Include="Debug|x64">
slouken@8843
     9
      <Configuration>Debug</Configuration>
slouken@8843
    10
      <Platform>x64</Platform>
slouken@8843
    11
    </ProjectConfiguration>
slouken@8843
    12
    <ProjectConfiguration Include="Release|Win32">
slouken@8843
    13
      <Configuration>Release</Configuration>
slouken@8843
    14
      <Platform>Win32</Platform>
slouken@8843
    15
    </ProjectConfiguration>
slouken@8843
    16
    <ProjectConfiguration Include="Release|x64">
slouken@8843
    17
      <Configuration>Release</Configuration>
slouken@8843
    18
      <Platform>x64</Platform>
slouken@8843
    19
    </ProjectConfiguration>
slouken@8843
    20
  </ItemGroup>
slouken@8843
    21
  <PropertyGroup Label="Globals">
slouken@8843
    22
    <ProjectName>SDL2main</ProjectName>
slouken@8843
    23
    <ProjectGuid>{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}</ProjectGuid>
slouken@8843
    24
  </PropertyGroup>
slouken@8843
    25
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
slouken@8843
    26
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
slouken@8843
    27
    <ConfigurationType>StaticLibrary</ConfigurationType>
slouken@8843
    28
    <UseOfMfc>false</UseOfMfc>
slouken@8843
    29
  </PropertyGroup>
slouken@8843
    30
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
slouken@8843
    31
    <ConfigurationType>StaticLibrary</ConfigurationType>
slouken@8843
    32
    <UseOfMfc>false</UseOfMfc>
slouken@8843
    33
  </PropertyGroup>
slouken@8843
    34
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
slouken@8843
    35
    <ConfigurationType>StaticLibrary</ConfigurationType>
slouken@8843
    36
    <UseOfMfc>false</UseOfMfc>
slouken@8843
    37
    <CharacterSet>MultiByte</CharacterSet>
slouken@8843
    38
  </PropertyGroup>
slouken@8843
    39
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
slouken@8843
    40
    <ConfigurationType>StaticLibrary</ConfigurationType>
slouken@8843
    41
    <UseOfMfc>false</UseOfMfc>
slouken@8843
    42
  </PropertyGroup>
slouken@8843
    43
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
slouken@8843
    44
  <ImportGroup Label="ExtensionSettings">
slouken@8843
    45
  </ImportGroup>
slouken@8843
    46
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
slouken@8843
    47
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
slouken@8843
    48
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
slouken@8843
    49
  </ImportGroup>
slouken@8843
    50
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
slouken@8843
    51
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
slouken@8843
    52
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
slouken@8843
    53
  </ImportGroup>
slouken@8843
    54
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
slouken@8843
    55
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
slouken@8843
    56
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
slouken@8843
    57
  </ImportGroup>
slouken@8843
    58
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
slouken@8843
    59
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
slouken@8843
    60
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" />
slouken@8843
    61
  </ImportGroup>
slouken@8843
    62
  <PropertyGroup Label="UserMacros" />
slouken@8843
    63
  <PropertyGroup>
slouken@8843
    64
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
slouken@8843
    65
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
slouken@8843
    66
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
slouken@8843
    67
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
slouken@8843
    68
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
slouken@8843
    69
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
slouken@8843
    70
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
slouken@8843
    71
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)\$(Platform)\$(Configuration)\</OutDir>
slouken@8843
    72
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
slouken@8843
    73
  </PropertyGroup>
slouken@8843
    74
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
slouken@8843
    75
    <PreBuildEvent />
slouken@8843
    76
    <ClCompile>
slouken@8843
    77
      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
slouken@8843
    78
      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
slouken@8843
    79
      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
slouken@8843
    80
      <StringPooling>true</StringPooling>
slouken@8843
    81
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
slouken@8843
    82
      <FunctionLevelLinking>true</FunctionLevelLinking>
slouken@8843
    83
      <PrecompiledHeader>
slouken@8843
    84
      </PrecompiledHeader>
slouken@8843
    85
      <WarningLevel>Level3</WarningLevel>
slouken@8843
    86
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
    87
      <CompileAs>Default</CompileAs>
slouken@8843
    88
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
slouken@8843
    89
      <ExceptionHandling>false</ExceptionHandling>
slouken@8843
    90
    </ClCompile>
slouken@8843
    91
    <Lib>
slouken@8843
    92
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
    93
    </Lib>
slouken@8843
    94
  </ItemDefinitionGroup>
slouken@8843
    95
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
slouken@8843
    96
    <Midl>
slouken@8843
    97
      <TargetEnvironment>X64</TargetEnvironment>
slouken@8843
    98
    </Midl>
slouken@8843
    99
    <ClCompile>
slouken@8843
   100
      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
slouken@8843
   101
      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
slouken@8843
   102
      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
slouken@8843
   103
      <StringPooling>true</StringPooling>
slouken@8843
   104
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
slouken@8843
   105
      <FunctionLevelLinking>true</FunctionLevelLinking>
slouken@8843
   106
      <PrecompiledHeader>
slouken@8843
   107
      </PrecompiledHeader>
slouken@8843
   108
      <WarningLevel>Level3</WarningLevel>
slouken@8843
   109
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
   110
      <CompileAs>Default</CompileAs>
slouken@8843
   111
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
slouken@8843
   112
      <ExceptionHandling>false</ExceptionHandling>
slouken@8843
   113
    </ClCompile>
slouken@8843
   114
    <Lib>
slouken@8843
   115
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
   116
    </Lib>
slouken@8843
   117
  </ItemDefinitionGroup>
slouken@8843
   118
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
slouken@8843
   119
    <PreBuildEvent />
slouken@8843
   120
    <ClCompile>
slouken@8843
   121
      <Optimization>Disabled</Optimization>
slouken@8843
   122
      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
slouken@8843
   123
      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
slouken@8843
   124
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
slouken@8843
   125
      <PrecompiledHeader>
slouken@8843
   126
      </PrecompiledHeader>
slouken@8843
   127
      <WarningLevel>Level3</WarningLevel>
slouken@8843
   128
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
   129
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
slouken@8843
   130
      <CompileAs>Default</CompileAs>
slouken@8843
   131
      <ExceptionHandling>false</ExceptionHandling>
slouken@8843
   132
    </ClCompile>
slouken@8843
   133
    <Lib>
slouken@8843
   134
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
   135
    </Lib>
slouken@8843
   136
  </ItemDefinitionGroup>
slouken@8843
   137
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
slouken@8843
   138
    <Midl>
slouken@8843
   139
      <TargetEnvironment>X64</TargetEnvironment>
slouken@8843
   140
    </Midl>
slouken@8843
   141
    <ClCompile>
slouken@8843
   142
      <Optimization>Disabled</Optimization>
slouken@8843
   143
      <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
slouken@8843
   144
      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
slouken@8843
   145
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
slouken@8843
   146
      <PrecompiledHeader>
slouken@8843
   147
      </PrecompiledHeader>
slouken@8843
   148
      <WarningLevel>Level3</WarningLevel>
slouken@8843
   149
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
   150
      <DebugInformationFormat>OldStyle</DebugInformationFormat>
slouken@8843
   151
      <CompileAs>Default</CompileAs>
slouken@8843
   152
      <ExceptionHandling>false</ExceptionHandling>
slouken@8843
   153
    </ClCompile>
slouken@8843
   154
    <Lib>
slouken@8843
   155
      <SuppressStartupBanner>true</SuppressStartupBanner>
slouken@8843
   156
    </Lib>
slouken@8843
   157
  </ItemDefinitionGroup>
slouken@8843
   158
  <ItemGroup>
slouken@8843
   159
    <ClCompile Include="..\..\src\main\windows\SDL_windows_main.c" />
slouken@8843
   160
  </ItemGroup>
slouken@8843
   161
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
slouken@8843
   162
  <ImportGroup Label="ExtensionTargets">
slouken@8843
   163
  </ImportGroup>
slouken@8843
   164
</Project>