make and build package, copy files to dest dir
2014-01-08 22:43
302 查看
make and build package, copy files to dest dir
@echo off
Rem make and build package, copy files to dest dir
set srcDir=.
set destDir=.\MyDesttDir
del /S /Q %destDir%
md "%destDir%"
md "%destDir%\bin"
md "%destDir%\include"
md "%destDir%\lib"
call :serachfilelist setupfile.txt
goto :end
:serachfilelist
FOR /F "delims=" %%i in (%1) do (
dir /ad "%srcDir%\%%i" >nul 2>nul&&call :copydir "%srcDir%\%%i\"
bin\aaaa.dll
bin\bbbb.dll
bin\cccc.exe
lib\aaaa.lib
lib\bbbb.lib
lib\cccc.lib
include\aaa.h
@echo off
Rem make and build package, copy files to dest dir
set srcDir=.
set destDir=.\MyDesttDir
del /S /Q %destDir%
md "%destDir%"
md "%destDir%\bin"
md "%destDir%\include"
md "%destDir%\lib"
call :serachfilelist setupfile.txt
goto :end
:serachfilelist
FOR /F "delims=" %%i in (%1) do (
dir /ad "%srcDir%\%%i" >nul 2>nul&&call :copydir "%srcDir%\%%i\"
|| call :copyfile "%srcDir%\%%i" "%destDir%\%%i" ) goto :eof ::copy dir1 tor dir2 :copydir xcopy %1 %2 /S /Y goto :eof :copyfile copy %1 %2 goto :eof :end echo copy success !
bin\aaaa.dll
bin\bbbb.dll
bin\cccc.exe
lib\aaaa.lib
lib\bbbb.lib
lib\cccc.lib
include\aaa.h
include\bbbb.h
include\cccc.h
相关文章推荐
- Ubuntu Howto Fix Repository Signature Verification Issues
- 1028 Hanoi Tower Sequence 高精度除 和取模 pair<string,int>
- 自定义UITabBar
- db file sequential read等待事件
- [Leetcode] Permutation Sequence (Java)
- 有热备,有事物损坏 薛忠权(ERIKXUE)
- make uImage不能生成uImage解决方法
- iOS- 利用UIImageView自己整了个不会说话的汤姆猫
- HDU Max Sum of Max-K-sub-sequence(单调队列)
- WEBLOGIC部署 一步一截图 薛忠权(ERIKXUE)
- android 线程更新UI(实例)
- NSOperationQueue简介
- UITableView高级技巧根据按钮位置取indexPath
- NSMutableString NSNumber NSValue NSDate NSArray
- ubuntu12.04 破解sublime text2 2.02 build 2221
- IOS UITextView自适应高度
- Server gl was unable to start within 60 seconds. If the server requires more time, try increasing th
- Easyui ‘Rowspan’ 替空或不是对象 解决方案
- UI第一章计算器
- build-essential