Skip to content

Commit

Permalink
dedicated server builds fine again
Browse files Browse the repository at this point in the history
  • Loading branch information
BraXi committed Sep 11, 2024
1 parent f94e00d commit 899f140
Show file tree
Hide file tree
Showing 4 changed files with 438 additions and 3 deletions.
245 changes: 245 additions & 0 deletions src/engine/pragma_dedsv.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\common\anorms.h" />
<ClInclude Include="..\common\crc.h" />
<ClInclude Include="..\common\fileformats\bsp.h" />
<ClInclude Include="..\common\fileformats\md3.h" />
<ClInclude Include="..\common\fileformats\pak.h" />
<ClInclude Include="..\common\fileformats\pmodel.h" />
<ClInclude Include="..\common\fileformats\smdl.h" />
<ClInclude Include="..\common\mathlib.h" />
<ClInclude Include="..\common\pragma_files.h" />
<ClInclude Include="client\cgame\progdefs_client.h" />
<ClInclude Include="cmd.h" />
<ClInclude Include="cmodel.h" />
<ClInclude Include="cvar.h" />
<ClInclude Include="filesystem.h" />
<ClInclude Include="message.h" />
<ClInclude Include="model_cache.h" />
<ClInclude Include="network.h" />
<ClInclude Include="net_chan.h" />
<ClInclude Include="pragma.h" />
<ClInclude Include="pragma_config.h" />
<ClInclude Include="protocol.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="script\progdefs_server.h" />
<ClInclude Include="script\progdefs_ui.h" />
<ClInclude Include="script\qc_opcodes.h" />
<ClInclude Include="script\qc_opnames.h" />
<ClInclude Include="script\scriptvm.h" />
<ClInclude Include="script\script_internals.h" />
<ClInclude Include="server\server.h" />
<ClInclude Include="server\sv_game.h" />
<ClInclude Include="sizebuf.h" />
<ClInclude Include="usercmd.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\common\crc.c" />
<ClCompile Include="..\common\mathlib.c" />
<ClCompile Include="..\common\shared.c" />
<ClCompile Include="..\common\shared_windows.c" />
<ClCompile Include="astar_navigation.c" />
<ClCompile Include="client\cgame\cg_builtins.c" />
<ClCompile Include="client\ui\ui_builtins.c" />
<ClCompile Include="cmd.c" />
<ClCompile Include="cmodel.c" />
<ClCompile Include="cvar.c" />
<ClCompile Include="filesystem.c" />
<ClCompile Include="main_windows.c" />
<ClCompile Include="md4.c" />
<ClCompile Include="message.c" />
<ClCompile Include="model_cache.c" />
<ClCompile Include="model_def.c" />
<ClCompile Include="network_windows.c" />
<ClCompile Include="net_chan.c" />
<ClCompile Include="pragma.c" />
<ClCompile Include="script\scr_builtins_math.c" />
<ClCompile Include="script\scr_builtins_shared.c" />
<ClCompile Include="script\scr_debug.c" />
<ClCompile Include="script\scr_exec.c" />
<ClCompile Include="script\scr_main.c" />
<ClCompile Include="script\scr_utils.c" />
<ClCompile Include="server\sv_ai.c" />
<ClCompile Include="server\sv_builtins.c" />
<ClCompile Include="server\sv_ccmds.c" />
<ClCompile Include="server\sv_devtools.c" />
<ClCompile Include="server\sv_gentity.c" />
<ClCompile Include="server\sv_init.c" />
<ClCompile Include="server\sv_load.c" />
<ClCompile Include="server\sv_main.c" />
<ClCompile Include="server\sv_physics.c" />
<ClCompile Include="server\sv_script.c" />
<ClCompile Include="server\sv_send.c" />
<ClCompile Include="server\sv_user.c" />
<ClCompile Include="server\sv_world.c" />
<ClCompile Include="server\sv_write.c" />
<ClCompile Include="sizebuf.c" />
<ClCompile Include="usercmd.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{0CA27754-F257-489E-B808-16610454DE81}</ProjectGuid>
<RootNamespace>pragma_server</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<ProjectName>pragma_dedsv</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>NotSet</CharacterSet>
<EnableASAN>false</EnableASAN>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
<EnableASAN>false</EnableASAN>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)\..\build\</OutDir>
<RunCodeAnalysis>false</RunCodeAnalysis>
<IntDir>$(SolutionDir)\_objs\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>pragma_server</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)\..\build\</OutDir>
<IntDir>$(SolutionDir)\_objs\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>pragma_server</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)\..\build\</OutDir>
<TargetName>pragma_server_x64</TargetName>
<IntDir>$(SolutionDir)\_objs\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)\..\build\</OutDir>
<TargetName>pragma_server_x64</TargetName>
<IntDir>$(SolutionDir)\_objs\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>
</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;DEDICATED_ONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>Default</ConformanceMode>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>
</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;DEDICATED_ONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>Default</ConformanceMode>
<StringPooling>true</StringPooling>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;DEDICATED_ONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;DEDICATED_ONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
Loading

0 comments on commit 899f140

Please sign in to comment.