target.BuildDependencies class
Package: target
Describe C and C++ build dependencies to associate with target hardware
Since R2020b
Description
Use the target.BuildDependencies
object to:
Describe C and C++ build dependencies, for example, source files and include paths.
Associate the dependencies with your target hardware.
For example, you can use a target.BuildDependencies
object
to describe the build dependencies for a target.APIImplementation
object.
Properties
SourceFiles
— Source file dependencies
cell array of character vectors | string array
Specify path to source files.
Attributes:
GetAccess | public |
SetAccess | public |
IncludeFiles
— Include file dependencies
cell array of character vectors | string array
Include file dependencies.
Attributes:
GetAccess | public |
SetAccess | public |
IncludePaths
— Header file include path dependencies
cell array of character vectors | string array
Header file include path dependencies.
Attributes:
GetAccess | public |
SetAccess | public |
Defines
— Macro definition dependencies
cell array of character vectors | string array
Macro definition dependencies.
Attributes:
GetAccess | public |
SetAccess | public |
StaticLibraries
— Static library dependencies
cell array of character vectors | string array
Static library dependencies.
Attributes:
GetAccess | public |
SetAccess | public |
SharedLibraries
— Shared library dependencies
cell array of character vectors | string array
Shared library dependencies.
Attributes:
GetAccess | public |
SetAccess | public |
Examples
Describe Implementation Build Dependencies for rtiostream
C API
This example shows how you can describe the implementation build
dependencies for the rtiostream
C API.
apiImp = target.create('APIImplementation', 'Name', ... 'x86 rtiostream Implementation'); apiImp .API = target.create('API', 'Name', 'rtiostream'); apiImp .BuildDependencies = target.create('BuildDependencies'); apiImp .BuildDependencies.SourceFiles = ... {fullfile('$(MATLAB_ROOT)', 'toolbox', ... 'coder', 'rtiostream','src', ... 'rtiostreamtcpip', 'rtiostream_tcpip.c')}; apiImp.MainFunction = target.create('MainFunction', ... 'Name', 'TCP RtIOStream Main'); apiImp.MainFunction.Arguments = {'-blocking', '1', '-port', '0'};
Version History
Introduced in R2020b
See Also
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)