力为的技术博客

C++ && Geometry && Graphics && AnyCAD

联系 聚合 管理
  97 Posts :: 1 Stories :: 447 Comments :: 0 Trackbacks
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 力为 阅读(299) 评论(0)  编辑 收藏 引用 所属分类: 3. VC&MFC

专题:Android  iPad jQuery Chrome OS

博客园首页  IT新闻  知识库  学英语  C++程序员招聘
标题  
姓名  
主页
验证码 *
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
[使用Ctrl+Enter键可以直接提交]
每天10分钟,轻松学英语
网站导航: