mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-14 22:03:27 +01:00
fix PostBuildEvent so it doesn't copy to ProjectDir when LocalDebuggerWorkingDirectory is not set
This commit is contained in:
parent
ba82f44562
commit
351a0cf467
@ -308,7 +308,7 @@ if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>
|
||||
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
if NOT "$(LocalDebuggerWorkingDirectory)" == "$(ProjectDir)" if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
|
||||
)
|
||||
</Command>
|
||||
@ -335,7 +335,7 @@ if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>
|
||||
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
if NOT "$(LocalDebuggerWorkingDirectory)" == "$(ProjectDir)" if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
|
||||
)
|
||||
</Command>
|
||||
|
Loading…
x
Reference in New Issue
Block a user