-
Notifications
You must be signed in to change notification settings - Fork 0
/
X360RayTracing.vcxproj
135 lines (135 loc) · 6.54 KB
/
X360RayTracing.vcxproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Release|Xbox 360">
<Configuration>Release</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Xenia|Xbox 360">
<Configuration>Xenia</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{7289F032-50AA-40AB-81A6-90E766BE9F23}</ProjectGuid>
<Keyword>Xbox360Proj</Keyword>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="deps\AtgFramework\AtgFramework.vcxproj">
<Project>{91d208a6-9936-47fd-9659-67205c3eb0ab}</Project>
</ProjectReference>
</ItemGroup>
<PropertyGroup Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>2010-01</PlatformToolset>
<BuildLogFile>$(IntDir)$(ProjectName)\BuildLog.txt</BuildLogFile>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup>
<OutDir>$(SolutionDir)build\$(Configuration)\bin\</OutDir>
<IntDir>$(SolutionDir)build\$(Configuration)\obj\</IntDir>
<RemoteRoot>hdd:\Games\$(ProjectName)</RemoteRoot>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<ImageXexOutput>$(OutDir)$(ProjectName).xex</ImageXexOutput>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)src;$(XEDK)\Source\Samples\Common</AdditionalIncludeDirectories>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<Optimization>Full</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<PreprocessorDefinitions>NDEBUG;_XBOX</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<PrecompiledHeaderOutputFile>$(IntDir)$(ProjectName)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<ObjectFileName>$(IntDir)$(ProjectName)\%(RelativeDir)</ObjectFileName>
<DisableSpecificWarnings>4481</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>d3d9.lib;d3dx9.lib;xgraphics.lib</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName)\$(ProjectName).pdb</ProgramDatabaseFile>
<OptimizeReferences>true</OptimizeReferences>
<SetChecksum>true</SetChecksum>
</Link>
<Deploy>
<DeploymentType>CopyToHardDrive</DeploymentType>
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\Media=$(OutDir)Media</DeploymentFiles>
<ExcludedFromBuild Condition="'$(Configuration)'=='Xenia'">true</ExcludedFromBuild>
</Deploy>
<PostBuildEvent Condition="'$(Configuration)'=='Release'">
<Command>"$(XEDK)\bin\win32\xbreboot.exe" $(RemotePath)</Command>
<Message>Launch $(RemotePath) after it's built</Message>
</PostBuildEvent>
<PostBuildEvent Condition="'$(Configuration)'=='Xenia'">
<Command>powershell $(SolutionDir)scripts\download-xenia.ps1 && $(SolutionDir)tools\xenia\xenia --log_to_stdout=false $(ImageXexOutput)</Command>
<Message>Download Xenia if necessary then launch the output binary into it</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="src\Core\App.h" />
<ClInclude Include="src\Core\Log.h" />
<ClInclude Include="src\Core\Scene.h" />
<ClInclude Include="src\Renderer\Camera.h" />
<ClInclude Include="src\Renderer\Globals.h" />
<ClInclude Include="src\Renderer\Renderer.h" />
<ClInclude Include="src\Renderer\VertexBuffer.h" />
<ClInclude Include="src\UI\Console.h" />
<ClInclude Include="src\UI\Font.h" />
<ClInclude Include="src\UI\Text.h" />
<ClInclude Include="src\pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\Core\App.cpp" />
<ClCompile Include="src\Core\Log.cpp" />
<ClCompile Include="src\Renderer\Camera.cpp" />
<ClCompile Include="src\Renderer\Renderer.cpp" />
<ClCompile Include="src\Renderer\VertexBuffer.cpp" />
<ClCompile Include="src\UI\Console.cpp" />
<ClCompile Include="src\UI\Font.cpp" />
<ClCompile Include="src\UI\Text.cpp" />
<ClCompile Include="src\main.cpp" />
<ClCompile Include="src\pch.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="src\Fonts\Arial_16.rdf">
<Command>bundler "%(FullPath)" -o "$(OutDir)Media\Fonts\%(Filename).xpr"</Command>
<Message>Create a bundled resource file from %(FullPath)</Message>
<Outputs>$(OutDir)Media\Fonts\%(Filename).xpr</Outputs>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="src\Shaders\Image.hlsl">
<Command>
fxc.exe "%(FullPath)" /nologo /Tvs_3_0 /EImageVertex /Fo"$(OutDir)Media\Shaders\Image.xvu" /XZi /XFd"$(OutDir)Media\Shaders\ImageVS.updb"
fxc.exe "%(FullPath)" /nologo /Tps_3_0 /EImagePixel /Fo"$(OutDir)Media\Shaders\Image.xpu" /XZi /XFd"$(OutDir)Media\Shaders\ImageVS.updb"
</Command>
<Message>Compile shaders in %(FullPath)</Message>
<Outputs>$(OutDir)Media\Shaders\Image.xvu;$(OutDir)Media\Shaders\Image.xpu</Outputs>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="src\Shaders\Texture.hlsl">
<Command>
fxc.exe "%(FullPath)" /nologo /Tvs_3_0 /ETextureVertex /Fo"$(OutDir)Media\Shaders\Texture.xvu"
fxc.exe "%(FullPath)" /nologo /Tps_3_0 /ETexturePixel /Fo"$(OutDir)Media\Shaders\Texture.xpu"
</Command>
<Message>Compile shaders in %(FullPath)</Message>
<Outputs>$(OutDir)Media\Shaders\Texture.xvu;$(OutDir)Media\Shaders\Texture.xpu</Outputs>
</CustomBuild>
</ItemGroup>
</Project>