1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-25 01:57:47 +01:00

update project configs

This commit is contained in:
FunkyFr3sh 2024-03-29 22:06:51 +01:00
parent 86c86999d0
commit a5ddb67940
4 changed files with 131 additions and 81 deletions

View File

@ -42,11 +42,11 @@ jobs:
with: with:
release: true release: true
- name: ReleaseWin2000 build - name: ReleaseXP build
id: build-releasewin2000 id: build-releasexp
uses: ./ uses: ./
with: with:
releasewin2000: true releasexp: true
- name: Debug build - name: Debug build
id: build-debug id: build-debug
@ -54,40 +54,40 @@ jobs:
with: with:
debug: true debug: true
- name: DebugLog build - name: DebugLogXP build
id: build-debuglog id: build-debuglogxp
uses: ./ uses: ./
with: with:
debuglog: true debuglogxp: true
- name: DebugLogMini build - name: DebugLogMiniXP build
id: build-debuglogmini id: build-debuglogminixp
uses: ./ uses: ./
with: with:
debuglogmini: true debuglogminixp: true
- name: Prepare artifact - name: Prepare artifact
run: | run: |
: :
mkdir -p cnc-ddraw-release mkdir -p cnc-ddraw-release
mkdir -p cnc-ddraw-releasewin2000 mkdir -p cnc-ddraw-releasexp
mkdir -p cnc-ddraw-debug mkdir -p cnc-ddraw-debug
mkdir -p cnc-ddraw-debuglog mkdir -p cnc-ddraw-debuglogxp
mkdir -p cnc-ddraw-debuglogmini mkdir -p cnc-ddraw-debuglogminixp
cp "${{ steps.build-release.outputs.release }}" cnc-ddraw-release cp "${{ steps.build-release.outputs.release }}" cnc-ddraw-release
cp "${{ steps.build-releasewin2000.outputs.releasewin2000 }}" cnc-ddraw-releasewin2000 cp "${{ steps.build-releasexp.outputs.releasexp }}" cnc-ddraw-releasexp
cp "${{ steps.build-debug.outputs.debug }}" cnc-ddraw-debug cp "${{ steps.build-debug.outputs.debug }}" cnc-ddraw-debug
cp "${{ steps.build-debug.outputs.debug-pdb }}" cnc-ddraw-debug cp "${{ steps.build-debug.outputs.debug-pdb }}" cnc-ddraw-debug
cp "${{ steps.build-debuglog.outputs.debuglog }}" cnc-ddraw-debuglog cp "${{ steps.build-debuglogxp.outputs.debuglogxp }}" cnc-ddraw-debuglogxp
cp "${{ steps.build-debuglog.outputs.debuglog-pdb }}" cnc-ddraw-debuglog cp "${{ steps.build-debuglogxp.outputs.debuglogxp-pdb }}" cnc-ddraw-debuglogxp
cp "${{ steps.build-debuglogmini.outputs.debuglogmini }}" cnc-ddraw-debuglogmini cp "${{ steps.build-debuglogminixp.outputs.debuglogminixp }}" cnc-ddraw-debuglogminixp
cp "${{ steps.build-debuglogmini.outputs.debuglogmini-pdb }}" cnc-ddraw-debuglogmini cp "${{ steps.build-debuglogminixp.outputs.debuglogminixp-pdb }}" cnc-ddraw-debuglogminixp
shell: bash shell: bash
@ -98,11 +98,11 @@ jobs:
path: cnc-ddraw-release path: cnc-ddraw-release
retention-days: 14 retention-days: 14
- name: Upload artifacts cnc-ddraw-releasewin2000 - name: Upload artifacts cnc-ddraw-releasexp
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: cnc-ddraw-releasewin2000 name: cnc-ddraw-releasexp
path: cnc-ddraw-releasewin2000 path: cnc-ddraw-releasexp
retention-days: 14 retention-days: 14
- name: Upload artifacts cnc-ddraw-debug - name: Upload artifacts cnc-ddraw-debug
@ -112,16 +112,16 @@ jobs:
path: cnc-ddraw-debug path: cnc-ddraw-debug
retention-days: 14 retention-days: 14
- name: Upload artifacts cnc-ddraw-debuglog - name: Upload artifacts cnc-ddraw-debuglogxp
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: cnc-ddraw-debuglog name: cnc-ddraw-debuglogxp
path: cnc-ddraw-debuglog path: cnc-ddraw-debuglogxp
retention-days: 14 retention-days: 14
- name: Upload artifacts cnc-ddraw-debuglogmini - name: Upload artifacts cnc-ddraw-debuglogminixp
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: cnc-ddraw-debuglogmini name: cnc-ddraw-debuglogminixp
path: cnc-ddraw-debuglogmini path: cnc-ddraw-debuglogminixp
retention-days: 14 retention-days: 14

View File

@ -24,20 +24,20 @@ inputs:
description: 'Set to true to enable building with Release configuration' description: 'Set to true to enable building with Release configuration'
required: true required: true
releasewin2000: releasexp:
description: 'Set to true to enable building with ReleaseWin2000 configuration' description: 'Set to true to enable building with ReleaseXP configuration'
required: true required: true
debug: debug:
description: 'Set to true to enable building with Debug configuration' description: 'Set to true to enable building with Debug configuration'
required: true required: true
debuglog: debuglogxp:
description: 'Set to true to enable building with DebugLog configuration' description: 'Set to true to enable building with DebugLogXP configuration'
required: true required: true
debuglogmini: debuglogminixp:
description: 'Set to true to enable building with DebugLogMini configuration' description: 'Set to true to enable building with DebugLogMiniXP configuration'
required: true required: true
# Outputs are always using Windows directory separator (`\`) # Outputs are always using Windows directory separator (`\`)
@ -47,9 +47,9 @@ outputs:
description: 'Full path to ddraw.dll built with Release configuration' description: 'Full path to ddraw.dll built with Release configuration'
value: ${{ steps.build-release.outputs.ddraw-dll }} value: ${{ steps.build-release.outputs.ddraw-dll }}
releasewin2000: releasexp:
description: 'Full path to ddraw.dll built with ReleaseWin2000 configuration' description: 'Full path to ddraw.dll built with ReleaseXP configuration'
value: ${{ steps.build-releasewin2000.outputs.ddraw-dll }} value: ${{ steps.build-releasexp.outputs.ddraw-dll }}
debug: debug:
description: 'Full path to ddraw.dll built with Debug configuration' description: 'Full path to ddraw.dll built with Debug configuration'
@ -58,19 +58,19 @@ outputs:
description: 'Full path to ddraw.pdb built with Debug configuration' description: 'Full path to ddraw.pdb built with Debug configuration'
value: ${{ steps.build-debug.outputs.ddraw-pdb }} value: ${{ steps.build-debug.outputs.ddraw-pdb }}
debuglog: debuglogxp:
description: 'Full path to ddraw.dll built with DebugLog configuration' description: 'Full path to ddraw.dll built with DebugLogXP configuration'
value: ${{ steps.build-debuglog.outputs.ddraw-dll }} value: ${{ steps.build-debuglogxp.outputs.ddraw-dll }}
debuglog-pdb: debuglogxp-pdb:
description: 'Full path to ddraw.pdb built with DebugLog configuration' description: 'Full path to ddraw.pdb built with DebugLogXP configuration'
value: ${{ steps.build-debuglog.outputs.ddraw-pdb }} value: ${{ steps.build-debuglogxp.outputs.ddraw-pdb }}
debuglogmini: debuglogminixp:
description: 'Full path to ddraw.dll built with DebugLogMini configuration' description: 'Full path to ddraw.dll built with DebugLogMiniXP configuration'
value: ${{ steps.build-debuglogmini.outputs.ddraw-dll }} value: ${{ steps.build-debuglogminixp.outputs.ddraw-dll }}
debuglogmini-pdb: debuglogminixp-pdb:
description: 'Full path to ddraw.pdb built with DebugLogMini configuration' description: 'Full path to ddraw.pdb built with DebugLogMiniXP configuration'
value: ${{ steps.build-debuglogmini.outputs.ddraw-pdb }} value: ${{ steps.build-debuglogminixp.outputs.ddraw-pdb }}
runs: runs:
using: 'composite' using: 'composite'
@ -82,8 +82,8 @@ runs:
if [[ "${{ runner.os }}" != "Windows" ]]; then if [[ "${{ runner.os }}" != "Windows" ]]; then
echo "[ERROR] This action can only be used on Windows" echo "[ERROR] This action can only be used on Windows"
exit 1 exit 1
elif [[ "${{ inputs.release }}" != "true" ]] && [[ "${{ inputs.releasewin2000 }}" != "true" ]] && [[ "${{ inputs.debug }}" != "true" ]] && [[ "${{ inputs.debuglog }}" != "true" ]] && [[ "${{ inputs.debuglogmini }}" != "true" ]]; then elif [[ "${{ inputs.release }}" != "true" ]] && [[ "${{ inputs.releasexp }}" != "true" ]] && [[ "${{ inputs.debug }}" != "true" ]] && [[ "${{ inputs.debuglogxp }}" != "true" ]] && [[ "${{ inputs.debuglogminixp }}" != "true" ]]; then
echo "[ERROR] At least one of following inputs must be set to 'true' -- 'release', 'releasewin2000', 'debug', 'debuglog', 'debuglogmini'" echo "[ERROR] At least one of following inputs must be set to 'true' -- 'release', 'releasexp', 'debug', 'debuglogxp', 'debuglogminixp'"
exit 1 exit 1
# #
elif [[ ! -f "$(cygpath --unix "$GITHUB_ACTION_PATH/cnc-ddraw.sln")" ]]; then elif [[ ! -f "$(cygpath --unix "$GITHUB_ACTION_PATH/cnc-ddraw.sln")" ]]; then
@ -115,7 +115,7 @@ runs:
# #
# echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd" # echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd"
"${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=Release -p:Platform=x86 -p:PlatformToolset=v141_xp "${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=Release -p:Platform=x86 -p:PlatformToolset=v143
# #
echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/Release/ddraw.dll")" >> $GITHUB_OUTPUT echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/Release/ddraw.dll")" >> $GITHUB_OUTPUT
@ -124,17 +124,17 @@ runs:
shell: bash shell: bash
# Creating empty `PostBuild.cmd` to avoid false-positive build error # Creating empty `PostBuild.cmd` to avoid false-positive build error
- name: Build ReleaseWin2000 - name: Build ReleaseXP
id: build-releasewin2000 id: build-releasexp
run: | run: |
if [[ "${{ inputs.releasewin2000 }}" == "true" ]]; then if [[ "${{ inputs.releasexp }}" == "true" ]]; then
echo ::group::Build ReleaseWin2000 echo ::group::Build ReleaseXP
# #
# echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd" # echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd"
"${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=ReleaseWin2000 -p:Platform=x86 -p:PlatformToolset=v141_xp "${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=ReleaseXP -p:Platform=x86 -p:PlatformToolset=v141_xp
# #
echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/ReleaseWin2000/ddraw.dll")" >> $GITHUB_OUTPUT echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/ReleaseXP/ddraw.dll")" >> $GITHUB_OUTPUT
echo "::endgroup::" echo "::endgroup::"
fi fi
@ -150,7 +150,7 @@ runs:
# #
# echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd" # echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd"
"${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=Debug -p:Platform=x86 -p:PlatformToolset=v141_xp "${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=Debug -p:Platform=x86 -p:PlatformToolset=v143
# #
echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/Debug/ddraw.dll")" >> $GITHUB_OUTPUT echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/Debug/ddraw.dll")" >> $GITHUB_OUTPUT
echo "ddraw-pdb=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/Debug/ddraw.pdb")" >> $GITHUB_OUTPUT echo "ddraw-pdb=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/Debug/ddraw.pdb")" >> $GITHUB_OUTPUT
@ -160,38 +160,38 @@ runs:
shell: bash shell: bash
# Creating empty `PostBuild.cmd` to avoid false-positive build error # Creating empty `PostBuild.cmd` to avoid false-positive build error
- name: Build DebugLog - name: Build DebugLogXP
id: build-debuglog id: build-debuglogxp
run: | run: |
: :
if [[ "${{ inputs.debuglog }}" == "true" ]]; then if [[ "${{ inputs.debuglogxp }}" == "true" ]]; then
echo "::group::Build DebugLog" echo "::group::Build DebugLogXP"
# #
# echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd" # echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd"
"${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=DebugLog -p:Platform=x86 -p:PlatformToolset=v141_xp "${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=DebugLogXP -p:Platform=x86 -p:PlatformToolset=v141_xp
# #
echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLog/ddraw.dll")" >> $GITHUB_OUTPUT echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLogXP/ddraw.dll")" >> $GITHUB_OUTPUT
echo "ddraw-pdb=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLog/ddraw.pdb")" >> $GITHUB_OUTPUT echo "ddraw-pdb=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLogXP/ddraw.pdb")" >> $GITHUB_OUTPUT
echo "::endgroup::" echo "::endgroup::"
fi fi
shell: bash shell: bash
# Creating empty `PostBuild.cmd` to avoid false-positive build error # Creating empty `PostBuild.cmd` to avoid false-positive build error
- name: Build DebugLogMini - name: Build DebugLogMiniXP
id: build-debuglogmini id: build-debuglogminixp
run: | run: |
: :
if [[ "${{ inputs.debuglogmini }}" == "true" ]]; then if [[ "${{ inputs.debuglogminixp }}" == "true" ]]; then
echo "::group::Build DebugLogMini" echo "::group::Build DebugLogMiniXP"
# #
# echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd" # echo "@echo off" > "$GITHUB_ACTION_PATH/sfall/PostBuild.cmd"
"${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=DebugLogMini -p:Platform=x86 -p:PlatformToolset=v141_xp "${{ steps.msbuild.outputs.exe }}" "$GITHUB_ACTION_PATH/cnc-ddraw.sln" -p:Configuration=DebugLogMiniXP -p:Platform=x86 -p:PlatformToolset=v141_xp
# #
echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLogMini/ddraw.dll")" >> $GITHUB_OUTPUT echo "ddraw-dll=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLogMiniXP/ddraw.dll")" >> $GITHUB_OUTPUT
echo "ddraw-pdb=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLogMini/ddraw.pdb")" >> $GITHUB_OUTPUT echo "ddraw-pdb=$(cygpath --windows "$GITHUB_ACTION_PATH/bin/DebugLogMiniXP/ddraw.pdb")" >> $GITHUB_OUTPUT
echo "::endgroup::" echo "::endgroup::"
fi fi

View File

@ -8,19 +8,22 @@ EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86 Debug|x86 = Debug|x86
DebugLog|x86 = DebugLog|x86 DebugLogMiniXP|x86 = DebugLogMiniXP|x86
DebugLogMini|x86 = DebugLogMini|x86 DebugLogXP|x86 = DebugLogXP|x86
Release|x86 = Release|x86 Release|x86 = Release|x86
ReleaseXP|x86 = ReleaseXP|x86
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{96094551-5D52-4EBD-BE4C-5291A03507FC}.Debug|x86.ActiveCfg = Debug|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.Debug|x86.ActiveCfg = Debug|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.Debug|x86.Build.0 = Debug|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.Debug|x86.Build.0 = Debug|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLog|x86.ActiveCfg = DebugLog|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLogMiniXP|x86.ActiveCfg = DebugLogMini|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLog|x86.Build.0 = DebugLog|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLogMiniXP|x86.Build.0 = DebugLogMini|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLogMini|x86.ActiveCfg = DebugLogMini|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLogXP|x86.ActiveCfg = DebugLog|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLogMini|x86.Build.0 = DebugLogMini|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.DebugLogXP|x86.Build.0 = DebugLog|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.Release|x86.ActiveCfg = Release|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.Release|x86.ActiveCfg = Release|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.Release|x86.Build.0 = Release|Win32 {96094551-5D52-4EBD-BE4C-5291A03507FC}.Release|x86.Build.0 = Release|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.ReleaseXP|x86.ActiveCfg = ReleaseXP|Win32
{96094551-5D52-4EBD-BE4C-5291A03507FC}.ReleaseXP|x86.Build.0 = ReleaseXP|Win32
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -13,6 +13,10 @@
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="ReleaseXP|Win32">
<Configuration>ReleaseXP</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32"> <ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
@ -112,17 +116,24 @@
<ItemGroup /> <ItemGroup />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<RootNamespace>cnc_ddraw</RootNamespace> <RootNamespace>cnc_ddraw</RootNamespace>
<WindowsTargetPlatformVersion>7.0</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<ProjectGuid>{96094551-5D52-4EBD-BE4C-5291A03507FC}</ProjectGuid> <ProjectGuid>{96094551-5D52-4EBD-BE4C-5291A03507FC}</ProjectGuid>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset> <PlatformToolset>v143</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet> <CharacterSet>MultiByte</CharacterSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseXP|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries> <UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141_xp</PlatformToolset> <PlatformToolset>v141_xp</PlatformToolset>
@ -153,6 +164,9 @@
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <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" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseXP|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'" Label="PropertySheets"> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
@ -172,6 +186,12 @@
<LinkIncremental>false</LinkIncremental> <LinkIncremental>false</LinkIncremental>
<TargetName>ddraw</TargetName> <TargetName>ddraw</TargetName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseXP|Win32'">
<OutDir>$(SolutionDir)bin\ReleaseXP\</OutDir>
<IntDir>$(SolutionDir)bin\ReleaseXP\</IntDir>
<LinkIncremental>false</LinkIncremental>
<TargetName>ddraw</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'">
<OutDir>$(SolutionDir)bin\DebugLog\</OutDir> <OutDir>$(SolutionDir)bin\DebugLog\</OutDir>
<IntDir>$(SolutionDir)bin\DebugLog\</IntDir> <IntDir>$(SolutionDir)bin\DebugLog\</IntDir>
@ -201,7 +221,7 @@
</Link> </Link>
<PostBuildEvent> <PostBuildEvent>
<Command> <Command>
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" ( if NOT "$(LocalDebuggerWorkingDirectory)" == "$(ProjectDir)" if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)" copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
) )
</Command> </Command>
@ -228,7 +248,34 @@ if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"
</Link> </Link>
<PostBuildEvent> <PostBuildEvent>
<Command> <Command>
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" ( if NOT "$(LocalDebuggerWorkingDirectory)" == "$(ProjectDir)" if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
)
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseXP|Win32'">
<ClCompile>
<WarningLevel>Level2</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalIncludeDirectories>inc;src\detours</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>winmm.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>
if NOT "$(LocalDebuggerWorkingDirectory)" == "$(ProjectDir)" if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)" copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
) )
</Command> </Command>