ansys.scade.wux.wux.add_sources#
- ansys.scade.wux.wux.add_sources(paths: List[pathlib.Path])#
Request the Code Generator to add sources files to the Makefile for C build.
The source files are associated to the virtual service
WUX
: Use the dependencyWUX
to declare a new target containing the sources from the generation services, either generated ones or runtime files.This function may be called by different generation services. It caches the added sources so that they are not added twice to the makefile.
Refer to
add_c_files
under Adding Make Directives in section 3 of the SCADE Python API Guide in the SCADE Suite documentation.- Parameters:
- paths
List
[Path
] Paths of the C/C++ sources files to be added to the makefile.
- paths