defining Build options
You can change the build options of the internal builder for building an SPL application using the INFOSPH Ere®streams Studio.
About this taskwhen you create a stand-alonebuild configuration or a distributed build configuration, the Edit build Configuration window is Displa yed.
to change the build options for building a SPL application, follow this procedure:
Procedure
- In the Project Explorer view, select and right-click the build configuration.
- From the menu, select Edit.
- When the Edit builds the Configuration window is displayed, click the Cancel button to cancel the creation or Chan Ging of the build configuration.
- Click the OK button to save the options for the build configuration.
- within the Main tab, configure the following fields:
- The Configuration Name field, enter a name for the configuration is about to create. By default, the name is distributed or Standalone.
- in the main composite field, the current SPL Main composite name is displayed. You can browse to another SPL main composite If you are want to switch.
- To add compile-time arguments, select the Add Argument button, and enter the name and value of the Argument. To remove the argument and use the remove button. Use the " Move Up " and "Move Down" buttons to rearrange multiple compile-time arguments.
- If you is finished with your configuration, click OK.
- within The Directories tab, configure the following fields:
- in the output directory field, enter the name of the output directory for your distributed or stand-alone build. By default, the output directory name is the same as the build configuration name. Use the Drop-down list to select from any existing directories in the output location for the main composite. Leave the output directory to their default value to ensure, each build configuration have a U Nique output location.
- Select use Project default data directory, if you want, the data directory from the project options. Select This option so, all build configurations in the project access the same application Data directory. Clear use Project default data directory if your want to specify a data directory specifically for the build config Uration and enter the name of the data directory. Use the browse button to browse to a different data directory.
- If you is finished with your configuration, click OK.
- within the Executable tab, configure the following fields:
- Use the executable type list to select the executable type. Your Choices is distributed Application and Standalone application.
- Use the Operator Fusion list to select a Operator fusion. When the SPL application are compiled, each operator implementation is placed inside a processing element. Operator Fusion is the process of possibly placing multiple operators to a single processing element, which makes the CO Nnections between the operators more efficient.
- Use the number of operator profiling samples list to select the number of operator profiling samples to include R configuration. This option controls the -P option on the sc command.
- Use the Profiling sampling rate list to set the Profiling for sample rate. The profiling sampling rate controls the -S option.
- Use the processing element (PE) linkage list to select whether to create statically linked PEs or create Dyna mically linked PEs.
- Use the code optimization list to select whether to generate optimized Code.
- If you is finished with your configuration, click OK.
- Within the Debug tab, use the Streams-Debugger (SDB) list to select whether-to-debug the application with the SDB. If you is finished with your configuration, click OK.
- within the Other tab, configure the following fields:
- in the C + + compiler options field, enter any C + + compiler options to add to your application.
- in the C + + linker options field, enter any C + + linker options to add to your application.
- in the Additional SPL compiler options field, enter any Additional SPL compiler options to add to your app Lication. There is some restrictions on the values the can is entered in the Additional SPL compiler options field. restriction:the following sc compiler options is not allowed in the Additional SPL compiler Options Field:
- -hOr--help
- -COr--clean-and-suppress
- -JOr--suppress-all-but-the-application-model
- -MOr--main-composite
- -fOr--spade-dps-file
- --output-directory
- --data-directory
- If you is finished with your configuration, click OK.
- in the Environment section, replace or append workplace environment variable settings.
- in the Compiler invocation sections, select the Show toolkit path list check box to include the project ' s Toolkit p Ath list in the displayed compiler invocation string.
Streams Studio Configuration Build Options