Build from the command line in the Codegear 2009 IDE

Is it possible to automatically create MAKEFILE from the Codegear 2009 IDE? Or create a project from the command line?

+3
source share
1 answer

No, but depending on your goal, you can do what you want. If you just want to build from the command line, this is possible. Since CB2009 uses msbuild, you can control the assembly, which uses all the same parameters and settings as the IDE assembly. There is a rsvars.bat file that sets all the environment variables that you need, and a shortcut for this batch file installed in the start menu under the name "RAD Studio Command Prompt". Once they are installed, you can call:

msbuild yourProjectFile.cbproj

make, .

+5

All Articles