Project Properties

From RAD Studio
Jump to: navigation, search

Go Up to C++ Options

Go Up to Project Options Dialog Box

Tools > Options > Language > C++ Options > Project Properties

Project > Options > Project Properties

Sets properties that control certain aspects of how the IDE manages a new C++Builder project:

  • The Project Options page controls C++ settings for the current project only.
  • The Tools Options page controls the default C++ settings for new projects only.

C++ Project Properties options Description

Manage include and library paths

When a user adds files to the project (and this option is checked), adds the paths for these files to the appropriate include path options to ensure the compiler/linker can find the files. If unchecked, does not update include paths automatically and the user takes responsibility for ensuring includes and library paths are correct. Default = true

Verify package imports and libraries

If checked, verifies that all package-related libraries can be found before linking. If a file is not found, displays a dialog asking the user for the location and updates the include paths accordingly. If unchecked, this verification does not occur. Default = true

Show header dependencies in project manager

If checked, creates and shows a list of all header files on which a C/C++ file depends in the Project Manager if the information is available. If unchecked, does not generate the list. Default = false

Use auto-dependency checking when available

If an object file already exists for a source file, a tool creates a new object file if the modification date of the source is newer than that of the object file. If this option is checked, the tool builds a new object file if any of the include files on which a source file depends have a newer modification date than the object file. If unchecked, the tool does not check all include files. Enabling this option helps guarantee more accurate builds. Default = true

Show general messages

Show all messages from tools without filtering. Default = false

Index files for 'Definitions and References'
(Support for 64-bit Windows, iOS, and Android target platforms)

On the Project Options page, enables the indexer support (Find Definitions and References (C++)) for the current C++ project. Once enabled, you can access all the Find commands from the Code Editor Context Menu. Default = false.

On the Tools Options page, enables Find Definitions and References (C++) for all your C++ projects.

When you enable this option, an SQLite database is created in the current project folder.

_TCHAR maps to
(available only in Tools Options page)

Specifies that the typedef _TCHAR floats either to a narrow definition char (AnsiString) or to a wide definition wchar_t (UnicodeString). When you set this option to wchar_t, then it defines the UNICODE and _UNICODE in projects and floats to the wide definitions of standard library and API functions. Default = wchar_t. See _TCHAR Mapping.

Run C++ compiler in a separate process
(available only in Project Options page)

Starts a separate compilation process, outside of the IDE, when you perform a Make or Build. This option is useful for compiling large projects that yield out-of-memory errors from the compiler when the compiler is run in-process (using the Make or Build command). A File Save dialog prompts you to save your project before compiling unless you just saved.

If you are using a Clang-enhanced C++ compiler, you can use "Run C++ compiler in a separate process" in combination with "Enable batch compilation" to enable parallel compilation.

"Number of subprocesses" determines the number of subprocesses that the compiler can spawn to perform parallel compilation. This number cannot be higher than the number of cores of your processor.

Default = Off.

See Also