This allows us to provide all functionality in executable file without providing additional data files. Added bin2hex utility that does [spirv binary->cpp code] conversion. Idea is based on vkQuake implementation.
160 lines
9.0 KiB
XML
160 lines
9.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{AB424155-FBED-4D8D-B007-5B6CF93EA395}</ProjectGuid>
|
|
<RootNamespace>renderer</RootNamespace>
|
|
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<UseOfMfc>false</UseOfMfc>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
<PlatformToolset>v141</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<UseOfMfc>false</UseOfMfc>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
<PlatformToolset>v141</PlatformToolset>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
|
<Import Project="props\shared.props" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
|
<Import Project="props\shared.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup>
|
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<StringPooling>true</StringPooling>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<CompileAs>CompileAsCpp</CompileAs>
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\include</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<Culture>0x0409</Culture>
|
|
</ResourceCompile>
|
|
<Lib>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<AdditionalDependencies>vulkan-1.lib</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\lib</AdditionalLibraryDirectories>
|
|
</Lib>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<CompileAs>CompileAsCpp</CompileAs>
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\..\third_party\include</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<Culture>0x0409</Culture>
|
|
</ResourceCompile>
|
|
<Lib>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<AdditionalDependencies>vulkan-1.lib</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>$(ProjectDir)..\..\third_party\lib</AdditionalLibraryDirectories>
|
|
</Lib>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\..\src\engine\renderer\shaders\spirv\multi_texture_add_frag.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\shaders\spirv\multi_texture_mul_frag.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\shaders\spirv\multi_texture_vert.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\shaders\spirv\single_texture_frag.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\shaders\spirv\single_texture_vert.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\vk_allocator.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\vk_resource_manager.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_animation.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_backend.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_bsp.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_cmds.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_curve.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_flares.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_font.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_image.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_init.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_light.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_main.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_marks.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_mesh.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_model.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_noise.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_scene.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_shade.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_shade_calc.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_shader.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_shadows.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_sky.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_surface.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\tr_world.c" />
|
|
<ClCompile Include="..\..\src\engine\platform\win_gamma.c" />
|
|
<ClCompile Include="..\..\src\engine\platform\win_glimp.c" />
|
|
<ClCompile Include="..\..\src\engine\platform\win_qgl.c" />
|
|
<ClCompile Include="..\..\src\engine\renderer\vk_demo.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\vk.cpp" />
|
|
<ClCompile Include="..\..\src\engine\renderer\vk_utils.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\..\src\engine\qcommon\cm_public.h" />
|
|
<ClInclude Include="..\..\src\engine\platform\glw_win.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\vk_allocator.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\vk_resource_manager.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\vk.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\vk_demo.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\vk_utils.h" />
|
|
<ClInclude Include="..\..\src\game\q_shared.h" />
|
|
<ClInclude Include="..\..\src\engine\qcommon\qcommon.h" />
|
|
<ClInclude Include="..\..\src\engine\qcommon\qfiles.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\qgl.h" />
|
|
<ClInclude Include="..\..\src\game\surfaceflags.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\tr_local.h" />
|
|
<ClInclude Include="..\..\src\engine\renderer\tr_public.h" />
|
|
<ClInclude Include="..\..\src\cgame\tr_types.h" />
|
|
<ClInclude Include="..\..\src\engine\platform\win_local.h" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |