halflife25-sdk/projects/vs2010/hldll.vcxproj
Dominik Tugend a800ff8246 Visual C++ 2010 Express support
fixes ValveSoftware/halflife#1338

Changes:
- added project files for Visual C++ 2010 Express
- resolved function calls that would otherwise be ambiguous now
- solved ARRAYSIZE macro and HSPRITE type collisions with Windows.h and
  winsock.h includes by guarding the includes

TODO:
We should think about if we actually should instead link to a .h that
defines / redirects the required macros, so that platform differences
would be limited to a few .cpp files (meaning not including windows.h in a
huge number of files as it is now), see the issue above for details.
2013-10-06 21:22:29 +02:00

257 lines
No EOL
13 KiB
XML

<?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="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{69DDADC0-97F4-419E-86EB-C91781A0D2E0}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>hldll</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</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>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
<TargetName>hl</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
<TargetName>hl</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;QUIVER;VOXEL;QUAKE2;VALVE_DLL;CLIENT_WEAPONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<AdditionalIncludeDirectories>..\..\dlls;..\..\engine;..\..\common;..\..\pm_shared;..\..\game_shared;..\..\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ModuleDefinitionFile>$(ProjectDir)..\..\dlls\hl.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>call ..\..\filecopy.bat $(TargetPath) ..\..\..\game\mod\dlls\$(TargetName).dll
call ..\..\filecopy.bat $(TargetDir)\$(TargetName).pdb ..\..\..\game\mod\dlls\$(TargetName).pdb</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Performing Post-Build Event</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;QUIVER;VOXEL;QUAKE2;VALVE_DLL;CLIENT_WEAPONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\dlls;..\..\engine;..\..\common;..\..\pm_shared;..\..\game_shared;..\..\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<ModuleDefinitionFile>$(ProjectDir)..\..\dlls\hl.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>call ..\..\filecopy.bat $(TargetPath) ..\..\..\game\mod\dlls\$(TargetName).dll
call ..\..\filecopy.bat $(TargetDir)\$(TargetName).pdb ..\..\..\game\mod\dlls\$(TargetName).pdb</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Performing Post-Build Event</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\dlls\aflock.cpp" />
<ClCompile Include="..\..\dlls\agrunt.cpp" />
<ClCompile Include="..\..\dlls\airtank.cpp" />
<ClCompile Include="..\..\dlls\animating.cpp" />
<ClCompile Include="..\..\dlls\animation.cpp" />
<ClCompile Include="..\..\dlls\apache.cpp" />
<ClCompile Include="..\..\dlls\barnacle.cpp" />
<ClCompile Include="..\..\dlls\barney.cpp" />
<ClCompile Include="..\..\dlls\bigmomma.cpp" />
<ClCompile Include="..\..\dlls\bloater.cpp" />
<ClCompile Include="..\..\dlls\bmodels.cpp" />
<ClCompile Include="..\..\dlls\bullsquid.cpp" />
<ClCompile Include="..\..\dlls\buttons.cpp" />
<ClCompile Include="..\..\dlls\cbase.cpp" />
<ClCompile Include="..\..\dlls\client.cpp" />
<ClCompile Include="..\..\dlls\combat.cpp" />
<ClCompile Include="..\..\dlls\controller.cpp" />
<ClCompile Include="..\..\dlls\crossbow.cpp" />
<ClCompile Include="..\..\dlls\crowbar.cpp" />
<ClCompile Include="..\..\dlls\defaultai.cpp" />
<ClCompile Include="..\..\dlls\doors.cpp" />
<ClCompile Include="..\..\dlls\effects.cpp" />
<ClCompile Include="..\..\dlls\egon.cpp" />
<ClCompile Include="..\..\dlls\explode.cpp" />
<ClCompile Include="..\..\dlls\flyingmonster.cpp" />
<ClCompile Include="..\..\dlls\func_break.cpp" />
<ClCompile Include="..\..\dlls\func_tank.cpp" />
<ClCompile Include="..\..\dlls\game.cpp" />
<ClCompile Include="..\..\dlls\gamerules.cpp" />
<ClCompile Include="..\..\dlls\gargantua.cpp" />
<ClCompile Include="..\..\dlls\gauss.cpp" />
<ClCompile Include="..\..\dlls\genericmonster.cpp" />
<ClCompile Include="..\..\dlls\ggrenade.cpp" />
<ClCompile Include="..\..\dlls\globals.cpp" />
<ClCompile Include="..\..\dlls\gman.cpp" />
<ClCompile Include="..\..\dlls\handgrenade.cpp" />
<ClCompile Include="..\..\dlls\hassassin.cpp" />
<ClCompile Include="..\..\dlls\headcrab.cpp" />
<ClCompile Include="..\..\dlls\healthkit.cpp" />
<ClCompile Include="..\..\dlls\hgrunt.cpp" />
<ClCompile Include="..\..\dlls\hornet.cpp" />
<ClCompile Include="..\..\dlls\hornetgun.cpp" />
<ClCompile Include="..\..\dlls\houndeye.cpp" />
<ClCompile Include="..\..\dlls\h_ai.cpp" />
<ClCompile Include="..\..\dlls\h_battery.cpp" />
<ClCompile Include="..\..\dlls\h_cine.cpp" />
<ClCompile Include="..\..\dlls\h_cycler.cpp" />
<ClCompile Include="..\..\dlls\h_export.cpp" />
<ClCompile Include="..\..\dlls\ichthyosaur.cpp" />
<ClCompile Include="..\..\dlls\islave.cpp" />
<ClCompile Include="..\..\dlls\items.cpp" />
<ClCompile Include="..\..\dlls\leech.cpp" />
<ClCompile Include="..\..\dlls\lights.cpp" />
<ClCompile Include="..\..\dlls\maprules.cpp" />
<ClCompile Include="..\..\dlls\monstermaker.cpp" />
<ClCompile Include="..\..\dlls\monsters.cpp" />
<ClCompile Include="..\..\dlls\monsterstate.cpp" />
<ClCompile Include="..\..\dlls\mortar.cpp" />
<ClCompile Include="..\..\dlls\mp5.cpp" />
<ClCompile Include="..\..\dlls\multiplay_gamerules.cpp" />
<ClCompile Include="..\..\dlls\nihilanth.cpp" />
<ClCompile Include="..\..\dlls\nodes.cpp" />
<ClCompile Include="..\..\dlls\observer.cpp" />
<ClCompile Include="..\..\dlls\osprey.cpp" />
<ClCompile Include="..\..\dlls\pathcorner.cpp" />
<ClCompile Include="..\..\dlls\plane.cpp" />
<ClCompile Include="..\..\dlls\plats.cpp" />
<ClCompile Include="..\..\dlls\player.cpp" />
<ClCompile Include="..\..\dlls\python.cpp" />
<ClCompile Include="..\..\dlls\rat.cpp" />
<ClCompile Include="..\..\dlls\roach.cpp" />
<ClCompile Include="..\..\dlls\rpg.cpp" />
<ClCompile Include="..\..\dlls\satchel.cpp" />
<ClCompile Include="..\..\dlls\schedule.cpp" />
<ClCompile Include="..\..\dlls\scientist.cpp" />
<ClCompile Include="..\..\dlls\scripted.cpp" />
<ClCompile Include="..\..\dlls\shotgun.cpp" />
<ClCompile Include="..\..\dlls\singleplay_gamerules.cpp" />
<ClCompile Include="..\..\dlls\skill.cpp" />
<ClCompile Include="..\..\dlls\sound.cpp" />
<ClCompile Include="..\..\dlls\soundent.cpp" />
<ClCompile Include="..\..\dlls\spectator.cpp" />
<ClCompile Include="..\..\dlls\squadmonster.cpp" />
<ClCompile Include="..\..\dlls\squeakgrenade.cpp" />
<ClCompile Include="..\..\dlls\subs.cpp" />
<ClCompile Include="..\..\dlls\talkmonster.cpp" />
<ClCompile Include="..\..\dlls\teamplay_gamerules.cpp" />
<ClCompile Include="..\..\dlls\tempmonster.cpp" />
<ClCompile Include="..\..\dlls\tentacle.cpp" />
<ClCompile Include="..\..\dlls\triggers.cpp" />
<ClCompile Include="..\..\dlls\tripmine.cpp" />
<ClCompile Include="..\..\dlls\turret.cpp" />
<ClCompile Include="..\..\dlls\util.cpp" />
<ClCompile Include="..\..\dlls\weapons.cpp" />
<ClCompile Include="..\..\dlls\world.cpp" />
<ClCompile Include="..\..\dlls\wpn_shared\hl_wpn_glock.cpp" />
<ClCompile Include="..\..\dlls\xen.cpp" />
<ClCompile Include="..\..\dlls\zombie.cpp" />
<ClCompile Include="..\..\game_shared\voice_gamemgr.cpp" />
<ClCompile Include="..\..\pm_shared\pm_debug.c" />
<ClCompile Include="..\..\pm_shared\pm_math.c" />
<ClCompile Include="..\..\pm_shared\pm_shared.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\dlls\activity.h" />
<ClInclude Include="..\..\dlls\activitymap.h" />
<ClInclude Include="..\..\dlls\animation.h" />
<ClInclude Include="..\..\dlls\basemonster.h" />
<ClInclude Include="..\..\dlls\cbase.h" />
<ClInclude Include="..\..\dlls\cdll_dll.h" />
<ClInclude Include="..\..\dlls\client.h" />
<ClInclude Include="..\..\dlls\decals.h" />
<ClInclude Include="..\..\dlls\defaultai.h" />
<ClInclude Include="..\..\dlls\doors.h" />
<ClInclude Include="..\..\dlls\effects.h" />
<ClInclude Include="..\..\dlls\enginecallback.h" />
<ClInclude Include="..\..\dlls\explode.h" />
<ClInclude Include="..\..\dlls\extdll.h" />
<ClInclude Include="..\..\dlls\flyingmonster.h" />
<ClInclude Include="..\..\dlls\func_break.h" />
<ClInclude Include="..\..\dlls\gamerules.h" />
<ClInclude Include="..\..\dlls\hornet.h" />
<ClInclude Include="..\..\dlls\items.h" />
<ClInclude Include="..\..\dlls\monsterevent.h" />
<ClInclude Include="..\..\dlls\monsters.h" />
<ClInclude Include="..\..\dlls\nodes.h" />
<ClInclude Include="..\..\dlls\plane.h" />
<ClInclude Include="..\..\dlls\player.h" />
<ClInclude Include="..\..\dlls\saverestore.h" />
<ClInclude Include="..\..\dlls\schedule.h" />
<ClInclude Include="..\..\dlls\scripted.h" />
<ClInclude Include="..\..\dlls\scriptevent.h" />
<ClInclude Include="..\..\dlls\skill.h" />
<ClInclude Include="..\..\dlls\soundent.h" />
<ClInclude Include="..\..\dlls\spectator.h" />
<ClInclude Include="..\..\dlls\squadmonster.h" />
<ClInclude Include="..\..\dlls\talkmonster.h" />
<ClInclude Include="..\..\dlls\teamplay_gamerules.h" />
<ClInclude Include="..\..\dlls\trains.h" />
<ClInclude Include="..\..\dlls\util.h" />
<ClInclude Include="..\..\dlls\vector.h" />
<ClInclude Include="..\..\dlls\weapons.h" />
<ClInclude Include="..\..\engine\eiface.h" />
<ClInclude Include="..\..\pm_shared\pm_debug.h" />
<ClInclude Include="..\..\pm_shared\pm_defs.h" />
<ClInclude Include="..\..\pm_shared\pm_info.h" />
<ClInclude Include="..\..\pm_shared\pm_materials.h" />
<ClInclude Include="..\..\pm_shared\pm_movevars.h" />
<ClInclude Include="..\..\pm_shared\pm_shared.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>