Skip to Main Content Skip to Search
Product Documentation

setbuildopt - Set active configuration build options

Syntax

IDE_Obj.setbuildopt(tool,ostr)
IDE_Obj.setbuildopt(file,ostr)

IDEs

This function supports the following IDEs:

Description

Use IDE_Obj.setbuildopt(tool,ostr) to set the build options for a specific build tool in the current configuration. This replaces the switch settings that are applied when you invoke the command line tool. For example, a build tool could be a compiler, linker or assembler. To define the tool argument correctly, first use the getbuildopt command to read a list of defined build tools.

If the VisualDSP++ and Code Composer Studio IDEs do not recognize the ostr argument, setbuildopt sets all switch settings to the default values for the build tool specified by tool.

If the MULTI IDE does not recognize the ostr argument, the IDE does not load the project.

Use IDE_Obj.setbuildopt(file,ostr) to configure the build options for a file you specify with the file argument. The source file must exist in the active project.

See Also

activate | getbuildopt

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS