mirror/dolphin-emu — pull request #14 by john-peterson (2013-05-01 19:53:03+00:00)
Title: Adding batch build files, changing PostBuildEvent from xcopy to robocopy

### Build script

It's added because

* it's faster to build if the VS window isn't opened
* building a configuration from a command file is faster than selecting a configuration or multiple configurations from a window

### Robocopy rather than xcopy

Create the problem with

# create junction in dolphin.exe path
mklink /j user c:\dolphin\data\user

# overwrite older with newer settings files
xcopy "$(SolutionDir)..\Data" "$(TargetDir)" /e /s /y /d
robocopy "$(SolutionDir)..\Data" "$(TargetDir)" /s /xo

the `xcopy /e /s /y /d` command overwrite "user"

the `junction` command treat the junction as a folder