Command line arguments for BCB

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.