Build from command line in Codegear 2009 IDE

对着背影说爱祢 提交于 2019-12-10 20:52:15

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/5877414/build-from-command-line-in-codegear-2009-ide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!