4.11 File/Path Properties dialog

This dialog displays properties for the file and controls build and compile options.

Note

  • On Microsoft Windows, the / and \ directory separators both appear as /. This does not affect operation.
  • Avoid using Japanese or Korean characters in filepaths. They can cause failure to find libraries.
Select a component from the Component window Files tab, right click on it to open the context menu, then click Properties to display the dialog.
General
Figure 4-23 File/Path Properties dialog, General tab
File/Path Properties dialog, General tab

File or path
The name of the file.

Note

The File Properties dialog is modeless. You can select a different file without closing the dialog. A warning message prompts to save any changes.
Absolute path
The full path to the file.
Repository
The repository file that contains this component entry.
Type
A brief description of the component type.
Info
The status of the file. For example, file does not exist.
Supported platforms
Select the platforms that the component supports:
  • Linux.
  • Linux64.
  • Win32 (Release run-time library).
  • Win32D (Debug run-time library).
  • Win64 (Release run-time library).
  • Win64D (Debug run-time library).
Compiler
Select the compiler to use for this component from the drop-down list:
  • No preference.
  • Microsoft Visual C++ 2008 SP1.
  • Microsoft Visual C++ 2010 SP1.
  • gcc version found in $PATH at compile time.
  • gcc version 4.1 or gcc version 4.4.
Build actions
Figure 4-24 File/Path Properties dialog, Build actions tab
File/Path Properties dialog, Build actions tab

Default actions depending on file extension
.lisa
A LISA source file that SimGen parses.
.c .cpp .cxx
A C or C++ source file that the compiler compiles.
.a .o
A Linux object file that SimGen links to.
.lib .obj
A Microsoft Windows object file that SimGen links to.
.sgproj
A project file that SimGen parses.
.sgrepo
A component repository file that SimGen parses.
directory_path/
An additional include directory for the search path that the compiler uses. The trailing slash identifies it as an include path. For example, to add the directory that contains the *.sgproj file, specify ./ (dot slash), not only the dot.
All other files
Copy a deploy file to the build directory.

Note

Simulation Generator (SimGen) is one of the Fast Models tools.
Ignore
Exclude the selected file from build and deploy. This can be useful for examples, notes, or temporarily disabled files.
Customize actions
Ignore the file extension. Specify the actions with the check boxes:
LISA - input file passed to Simulator Generator as LISA
System Canvas passes the file to SimGen as a LISA file. Do not use this option for non-LISA files.
Compile - compile as C/C++ source code
Add the file to the list of files to compile as C/C++ code during the build process.
Link - input file for linker
Link the file with the object code during the build process.
Deploy - copy to build directory
Copy the file into the build directory. This option can, for example, add dynamic link libraries for running the generated system model.
Include path - add the file’s path to additional include directories
Add the path of the parent directory that holds the file to the list of additional include directories for the compiler.
Library path - add the file’s path to additional library directories
Add the path of the parent directory that holds the file to the list of additional library directories for the compiler.
Related reference
4.19.3 Alphabetical list of project parameter IDs
Non-ConfidentialPDF file icon PDF versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.