2013-03-02 00:26:38 +08:00
|
|
|
REM ExternalProject can't cleanly extract a zip into an existing directory
|
|
|
|
REM Instead we extract to a subdir, and then move the directories we want
|
|
|
|
REM using this bat file.
|
2015-03-08 08:19:10 +08:00
|
|
|
REM This script is used by the SuperBuild CMakeLists.txt
|
2013-03-02 00:26:38 +08:00
|
|
|
|
|
|
|
echo %CD%
|
2013-11-14 09:35:33 +08:00
|
|
|
IF EXIST winDeps/3rdParty (
|
|
|
|
md 3rdParty
|
|
|
|
xcopy /Y /E winDeps/3rdParty 3rdParty
|
2013-11-16 07:07:57 +08:00
|
|
|
echo "Done copying Windows deps"
|
|
|
|
) ELSE (
|
|
|
|
IF EXIST winDeps/3rdParty.x64 (
|
|
|
|
md 3rdParty.x64
|
|
|
|
xcopy /Y /E winDeps/3rdParty.x64 3rdParty.x64
|
|
|
|
echo "Done copying Windows deps"
|
|
|
|
) ELSE (
|
|
|
|
echo "Error: Windows deps not found"
|
|
|
|
exit -1
|
|
|
|
)
|
2013-11-14 09:35:33 +08:00
|
|
|
)
|