在Codegear 2009 IDE中从命令行进行构建 [英] Build from command line in Codegear 2009 IDE

查看:58
本文介绍了在Codegear 2009 IDE中从命令行进行构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Codegear 2009 IDE自动生成MAKEFILE?还是从命令行构建项目?

Is it possible to automagically generate a MAKEFILE from the Codegear 2009 IDE? Or build a project from the command line?

推荐答案

否,但是根据您的目标,您可能可以做自己想做的事情.如果您只想从命令行进行构建,则可以这样做.因为CB2009使用msbuild,所以您可以驱动使用与IDE构建相同的所有选项和设置的构建.有一个rsvars.bat文件,它设置了您需要的所有环境变量,并且在开始菜单中名为"RAD Studio Command Prompt"的安装了该批处理文件的快捷方式.一旦设置了这些,您就可以调用:

No, but depending on your objective, you may be able to do what you want. If you simply want to do a build from a command line, this is possible. Because CB2009 uses msbuild, you can drive a build which uses all the same options and settings as an IDE build. There is a rsvars.bat file which sets all the environment variables you need and a shortcut to this batch file installed in the start menu called "RAD Studio Command Prompt" Once those are set, you can then call:

msbuild yourProjectFile.cbproj

然后可以将其集成到制造系统,连续集成工具或其他自动化系统中.

This can then be integrated into a make system, continuous integration tool, or other automation.

这篇关于在Codegear 2009 IDE中从命令行进行构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆