mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-11 15:22:58 +02:00
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@508 96395faa-99c1-11dd-bbfe-3dabce05a288
22 lines
625 B
Plaintext
22 lines
625 B
Plaintext
@echo off
|
|
rem
|
|
rem Usage: postBuild.cmd SourcePath DestDir DestFile DestExt
|
|
rem
|
|
rem SourcePath - $(TargetPath) - Fully qualified path of the generated target file.
|
|
rem DestDir - $(SolutionDir) - Directory of the destination, usually the same as the solution.
|
|
rem DestFile - Base filename of the target/dest, without extension!
|
|
rem DestExt - Extension of the target/dest!
|
|
|
|
set pcsxoutdir=%2\bin\plugins
|
|
set pcsxoutname=%pcsxoutdir%%3%4
|
|
|
|
IF NOT EXIST %pcsxoutdir% (
|
|
md %pcsxoutdir%
|
|
)
|
|
|
|
copy /Y %1 %pcsxoutname%
|
|
if ERRORLEVEL 0 (
|
|
echo Target copied to %pcsxoutname%
|
|
)
|
|
set ERRORLEVEL=0
|