You can use an external builder to build an SPL project.
Streams Studio uses an automatic build facility to track a set of
files and artifacts. The Streams Studio build facility automatically
maintains the compilation rules that are required to build an SPL
application by calling the sc compiler. There are
cases where you might have a more elaborate set of compilation rules
than what the Streams Studio provides or you might need to build other
libraries besides SPL applications. In these cases, you might want
to use an external builder.
About this task
Unlike the Streams Studio internal builder, an external builder
does not use build configurations. Typically, an external builder
uses the GNU make facility in combination with a makefile. You are
responsible for writing and maintaining the makefile to build the
project according to your requirements. When you use an external builder,
you set the output directory to indicate where to place build output
files. Streams Studio ignores changes to files in this location when
it determines whether to rebuild the toolkit index for the project.
Procedure
- Right-click on an SPL project from the Project Explorer view and select Configure
SPL Build from the menu.
- From the Builder type drop-down
list, select External builder. The External
Builder Options area of the window is activated.
- Complete the following information and then click OK.
- Enter a value in the Incremental build command field.
- Enter a value in the Full build command field.
- Enter a value in the Clean build command field.
- From the Build output drop-down
list, make a selection.