Project Options
The Options \ Project command activates a dialog box containing options that determine the basic parameters of the project. This dialog box is divided into three tabs:
Directories
File Types
Directories
This tab contains options that determine project directories.
![]()
Project root directory
Determines the basic project folder. All names of the project files are considered relative to this folder if the full file path is not given. If its value is not set, the default value will be the folder containing the current Project file. If a period character ( . ) is entered in this box, the folder containing the Project file is considered the Project Root Directory. If two period characters ( .. ) are entered into this box, the parent folder of the folder containing the Project file is considered the Project root directory.
Referential project root directory
If not empty, specifies the alternative project root directory for searching for files not found in the original project path. File names with referential extensions in the original path are tried before those in the referential path. The specified path may be either full or relative to the project root, and it may not specify a subfolder in the project root directory tree.
Core header directories
All header files in these directories are part of the project and analyzed regularly.
You can list core header directories in one text file e.g. "core_h_dirs.lst" and include those with @core_h_dirs.lst, eg.
Core header\directory\one
Core header\directory\twoLibrary header directories
All header files in these directories are treated as library headers regardless of the way they are included (between "<" and ">", or between " and "). This is useful for suppressing undesired warning messages, especially for unused symbols. Paths to third party library headers (for example, RTOS, CAN bus, ...) should be placed here.
You can list library header directories in one text file e.g. lib_h_dirs.lst" and include those with @lib_h_dirs.lst, eg.
Library header\directory\one
Library header\directory\twoSCA database directory
Determines the folder in which the project database will be created during analysis and from which it will later be used. If the parameter value is not specified, the default value will be the folder defined by the project root directory.
Save As... and automated tasks output directory
Determines the folder in which the files will be created during "Save As..." commands. If the parameter value is not specified, the default value will be the folder defined by the project root directory.
File Types
This tab contains options that determine the project file types.
C source files
Represents a set of a maximum of 10 file extensions, separated with a white space or "." character. Files with one of these extensions will be considered C source files. Header file extensions should not be defined within this field.
Assembler source files
Represents a set of a maximum of 10 file extensions, separated with a white space or "." character. Files with one of these extensions will be considered included Assembler files. Module file extensions should not be defined within this field.
Header files
Represents a set of a maximum of 10 file extensions, separated with a white space or "." character. Files with one of these extensions will be considered included C header files. Module file extensions should not be defined within this field.
Document files
Represents a set of a maximum of 10 file extensions, separated with a white space or "." character. Files with one of these extensions will be considered document files.
Text files
Represents a set of a maximum of 10 file extensions, separated with a white space or "." character. Files with one of these extensions will be considered editable (text) files. The default value is ".dcp.txt...". If files without extensions are to be considered editable, the list ends with period ( . ), as shown on the previous picture.
EXT Aliases
Fields for entering alternative extensions are located in this area. The original extension is entered in the Extension column, while the alternative extension is entered in the Alias column. On opening files, should opening the file with the original extension fail for any reason, DA-C will attempt to find and open the file with the identical name and the Alias extension.
Copyright © 1993-2022, RistanCASE PR