力为的博客
技术那些事。
posts - 89,comments - 434,trackbacks - 0
If you want to build your project on the command line,
If you want to change your build config easily,
There is a method to help.
Maybe this is not the best one, but it really works. Any good methods  are welcome if you have.

*********************************************
BuildAll.bat for whole solution
-------------------------------
@echo off
set DEV="C:\VC8\common7\IDE\devenv.com"
set BUILDCFG=build
set BUILDTYPE=Debug
set LOGERR=error.txt
if exist %LOGERR% del %LOGERR%

for %%in (ProjOne ProjTwo ProjN) Do (
 pushd 
%%i
 call Build.bat
 popd
)


*******************************************
Build.bat for every project
-----------------------------
@echo off
 call 
%DEV% ProjOne.vcproj /%BUILDCFG% "%BUILDTYPE% /out %LOGERR%

posted on 2006-08-24 14:28 力为 阅读(276) 评论(0)  编辑 收藏 引用 所属分类: VC&MFC


标题  
姓名  
主页
验证码 *
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
[使用Ctrl+Enter键可以直接提交]
.NET频道  博客园社区  闪存
网站导航: