Prebuild Command line(Copy)

xcopy $(SolutionDir)\PreBuild\Share $(SolutionDir)\Debug\ /s /e /c /y
xcopy $(SolutionDir)\PreBuild\Debug $(SolutionDir)\Debug\ /s /e /c /y


xcopy $(SolutionDir)\PreBuild\Release $(SolutionDir)\Release\ /s /e /c /y
xcopy $(SolutionDir)\PreBuild\Share $(SolutionDir)\Release\ /s /e /c /y

if $(ConfigurationName) == Debug goto :debug
:release
xcopy $(SolutionDir)\PreBuild\Share $(SolutionDir)\Release\ /s /e /c /y
xcopy $(SolutionDir)\PreBuild\Release $(SolutionDir)\Release\ /s /e /c /y
goto :exit

:debug
xcopy $(SolutionDir)\PreBuild\Share $(SolutionDir)\Debug\ /s /e /c /y
xcopy $(SolutionDir)\PreBuild\Debug $(SolutionDir)\Debug\ /s /e /c /y
:exit

你可能感兴趣的:(C++,c,C#)