Ignore:
Timestamp:
Apr 5, 2012, 2:07:57 AM (9 years ago)
Author:
sam
Message:

build: do the Visual Studio project refactoring a bit differently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/win32/tut02.vcxproj

    r1190 r1191  
    11<?xml version="1.0" encoding="utf-8"?>
    22<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    3   <Import Project="Lol.Config.props" />
     3  <ItemGroup Label="ProjectConfigurations">
     4    <ProjectConfiguration Include="Debug|Win32">
     5      <Configuration>Debug</Configuration>
     6      <Platform>Win32</Platform>
     7    </ProjectConfiguration>
     8    <ProjectConfiguration Include="Debug|Xbox 360">
     9      <Configuration>Debug</Configuration>
     10      <Platform>Xbox 360</Platform>
     11    </ProjectConfiguration>
     12    <ProjectConfiguration Include="Release|Win32">
     13      <Configuration>Release</Configuration>
     14      <Platform>Win32</Platform>
     15    </ProjectConfiguration>
     16    <ProjectConfiguration Include="Release|Xbox 360">
     17      <Configuration>Release</Configuration>
     18      <Platform>Xbox 360</Platform>
     19    </ProjectConfiguration>
     20  </ItemGroup>
    421  <ItemGroup>
    522    <ClCompile Include="..\test\tutorial\tut02.cpp" />
     
    1532    <Keyword>Win32Proj</Keyword>
    1633  </PropertyGroup>
    17   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    18   <Import Project="Lol.Cpp.Defaults.props" />
    19   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    20   <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    21   <Import Project="Lol.Contribs.props" />
    22   <Import Project="Lol.Build.props" />
     34  <Import Project="Config.props" />
     35  <ImportGroup Label="ExtensionSettings">
     36  </ImportGroup>
     37  <ImportGroup Label="PropertySheets">
     38    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     39    <Import Project="Contribs.props" />
     40  </ImportGroup>
     41  <PropertyGroup Label="UserMacros" />
     42  <Import Project="Build.props" />
     43  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     44    <ClCompile>
     45      <Optimization>Disabled</Optimization>
     46      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
     47      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     48    </ClCompile>
     49    <Link>
     50      <GenerateDebugInformation>true</GenerateDebugInformation>
     51      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);$(GdiDeps);$(GlDeps)</AdditionalDependencies>
     52      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
     53    </Link>
     54    <PostBuildEvent>
     55      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
     56    </PostBuildEvent>
     57  </ItemDefinitionGroup>
     58  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
     59    <ClCompile>
     60      <Optimization>Disabled</Optimization>
     61      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
     62      <PreprocessorDefinitions>_XBOX;_DEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
     63      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     64    </ClCompile>
     65    <Link>
     66      <GenerateDebugInformation>true</GenerateDebugInformation>
     67      <AdditionalDependencies>xapilibd.lib;d3d9d.lib;d3dx9d.lib;xgraphicsd.lib;xboxkrnl.lib;xnetd.lib;xaudiod2.lib;xactd3.lib;x3daudiod.lib;xmcored.lib;xbdm.lib;vcompd.lib;%(AdditionalDependencies)</AdditionalDependencies>
     68      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
     69    </Link>
     70    <Deploy>
     71      <DeploymentType>CopyToHardDrive</DeploymentType>
     72    </Deploy>
     73  </ItemDefinitionGroup>
     74  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     75    <ClCompile>
     76      <Optimization>MaxSpeed</Optimization>
     77      <FunctionLevelLinking>true</FunctionLevelLinking>
     78      <IntrinsicFunctions>true</IntrinsicFunctions>
     79      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
     80      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     81    </ClCompile>
     82    <Link>
     83      <GenerateDebugInformation>true</GenerateDebugInformation>
     84      <EnableCOMDATFolding>true</EnableCOMDATFolding>
     85      <OptimizeReferences>true</OptimizeReferences>
     86      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);$(GdiDeps);$(GlDeps)</AdditionalDependencies>
     87      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
     88    </Link>
     89    <PostBuildEvent>
     90      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
     91    </PostBuildEvent>
     92  </ItemDefinitionGroup>
     93  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
     94    <ClCompile>
     95      <Optimization>MaxSpeed</Optimization>
     96      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
     97      <FunctionLevelLinking>true</FunctionLevelLinking>
     98      <IntrinsicFunctions>true</IntrinsicFunctions>
     99      <PreprocessorDefinitions>_XBOX;NDEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
     100      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     101    </ClCompile>
     102    <Link>
     103      <GenerateDebugInformation>true</GenerateDebugInformation>
     104      <EnableCOMDATFolding>true</EnableCOMDATFolding>
     105      <OptimizeReferences>true</OptimizeReferences>
     106      <AdditionalDependencies>xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;%(AdditionalDependencies)</AdditionalDependencies>
     107      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
     108    </Link>
     109    <Deploy>
     110      <DeploymentType>CopyToHardDrive</DeploymentType>
     111    </Deploy>
     112  </ItemDefinitionGroup>
    23113  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    24114  <ImportGroup Label="ExtensionTargets">
Note: See TracChangeset for help on using the changeset viewer.