85 lines
4.4 KiB
XML
85 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<!--
|
|
|
|
this file should be only included for PC targets
|
|
|
|
-->
|
|
<ImportGroup Label="PropertySheets" />
|
|
<PropertyGroup>
|
|
<!-- setup include, lib and bin paths for the builds -->
|
|
<IncludePath>$(SampleIncludeDir)\DirectXTex;$(SampleIncludeDir)\SampleFramework;$(IncludePath);</IncludePath>
|
|
<LibraryPath>$(SampleLibDir);$(LibraryPath);</LibraryPath>
|
|
<!-- make sure fxc can be found -->
|
|
<ExecutablePath>$(SampleExePath);$(ExecutablePath)</ExecutablePath>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>NDEBUG;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<TreatWarningAsError>false</TreatWarningAsError>
|
|
<CompileAsWinRT>false</CompileAsWinRT>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<FloatingPointModel>Fast</FloatingPointModel>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>DirectXTexPC.lib;SampleFramework$(PlatformToolsetVersion)PC.lib;dxguid.lib;d3dcompiler.lib;xinput9_1_0.lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<CustomBuildStep>
|
|
<Command>call ..\..\common\copymedia.bat MediaList.txt "$(OutDir)Media" "$(SampleMediaDir)" "$(ProjectDir)Media"
|
|
echo CopyMediaDepFile >> "$(ProjectDir)\$(ProjectName).$(Configuration).$(Platform).buildmedia.tmp"</Command>
|
|
</CustomBuildStep>
|
|
<CustomBuildStep>
|
|
<Outputs>$(ProjectDir)\$(ProjectName).$(Configuration).$(Platform).buildmedia.tmp</Outputs>
|
|
</CustomBuildStep>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>DEBUG;_DEBUG;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<TreatWarningAsError>false</TreatWarningAsError>
|
|
<CompileAsWinRT>false</CompileAsWinRT>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<FloatingPointModel>Fast</FloatingPointModel>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>DirectXTexPCd.lib;SampleFramework$(PlatformToolsetVersion)PCd.lib;dxguid.lib;d3dcompiler.lib;xinput9_1_0.lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<CustomBuildStep>
|
|
<Command>call ..\..\common\copymedia.bat MediaList.txt "$(OutDir)Media" "$(SampleMediaDir)" "$(ProjectDir)Media"
|
|
echo CopyMediaDepFile >> "$(ProjectDir)\$(ProjectName).$(Configuration).$(Platform).buildmedia.tmp"</Command>
|
|
</CustomBuildStep>
|
|
<CustomBuildStep>
|
|
<Outputs>$(ProjectDir)\$(ProjectName).$(Configuration).$(Platform).buildmedia.tmp</Outputs>
|
|
</CustomBuildStep>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|x64'" Label="PropertySheets">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>PROFILE;NDEBUG;_WINDOWS;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<TreatWarningAsError>false</TreatWarningAsError>
|
|
<CompileAsWinRT>false</CompileAsWinRT>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<FloatingPointModel>Fast</FloatingPointModel>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>DirectXTexPCi.lib;dxguid.lib;d3dcompiler.lib;xinput9_1_0.lib;d3d11.lib;SampleFramework$(PlatformToolsetVersion)PCi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
<CustomBuildStep>
|
|
<Command>call ..\..\common\copymedia.bat MediaList.txt "$(OutDir)Media" "$(SampleMediaDir)" "$(ProjectDir)Media"
|
|
echo CopyMediaDepFile >> "$(ProjectDir)\$(ProjectName).$(Configuration).$(Platform).buildmedia.tmp"</Command>
|
|
</CustomBuildStep>
|
|
<CustomBuildStep>
|
|
<Outputs>$(ProjectDir)\$(ProjectName).$(Configuration).$(Platform).buildmedia.tmp</Outputs>
|
|
</CustomBuildStep>
|
|
</ItemDefinitionGroup>
|
|
<PropertyGroup>
|
|
<LocalDebuggerWorkingDirectory>$(OutDir)</LocalDebuggerWorkingDirectory>
|
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<CustomBuildStep>
|
|
<Inputs>MediaList.txt</Inputs>
|
|
</CustomBuildStep>
|
|
</ItemDefinitionGroup>
|
|
</Project>
|