When you run BCB, you can use several command-line arguments to control its behavior, which are described in the BCB Help system, find Help topics, and enter ' IDE command-line options ' in the index to get this information.
Here is a summary of some useful parameters.
-NP = Do not create new project at startup
-ns = no splash screen (no reduction in load time)
-dfoo.exe = Debug Foo.EXE
-B FOO.BPR = Builder Project FOO.BPR
-M FOO.BPR = Make Project FOO.BPR
Note: Because the-B and-M switches are present, you can compile the project as part of the batch process, in fact, the importance of these options is limited and they are not as makefile. For example, the IDE also appears on the screen as usual, and it takes so much time to start. In addition, the IDE prompts you to answer some questions, and the IDE stops to wait for your answer, which is not the behavior you expect during mass processing.
In batch processing, using make has more meaning, makes requires a makefile file, in BCB3 and BCB4, the project file (BRP file) is makefile, in BCB5, the BPR file is an XML file that must be converted to makefile, You can use the Bpr2mak tool to convert an XML file into a makefile.
Incidentally, the project group file (BPG file) is still makefile.
Note: I haven't tried the-B flag before writing this article, and after I tried it a few times, I found that BCB5 crashed every time I ran. Before you waste a lot of time on the-B and-M options, keep this in mind.