Compiling a C ++ Builder project on the command line

Is there a way to compile a C ++ Builder project (specific build configuration) from the command line?

Sort of:

CommandToBuild ProjectNameToBuild BuildConfiguration ...
+5
source share
2 answers

Using:

msbuild project.cbproj /p:config=[build configuration]

More information can be found in Building a Project Using the MSBuild Team .

+7
source

There are various ways to automate your assemblers in C ++ Builder (in my experience, I'm talking about older versions of C ++ Builder, such as 5 and 6 ).

- bcc32.exe ( dcc32.exe, brcc32.exe tasm32.exe, Delphi , ) linker - ilink32.exe.

, .

, , , , , , ++ Builder, , . : bpr2mak.exe make.exe.

bpr2mak.exe, *.bpr *.bpk , *.mak , make.exe, .

cmd script:

@bpr2mak.exe YourProject.bpr
@ren YourProject.mak makefile
@make.exe

"YourProject.mak" make.exe, *.mak "makefile", make.exe .

, :

: IDE, ( ). script *.bpr. , , , , - ( ..).

- script, . , , . cmd script, , , , Python.

+7

All Articles