Creating Custom Configurations
In addition to the default configurations defined by LabWindows/CVI, you can create custom configurations. Creating custom configurations enables you to have as many configurations with different target, build, and other options specified as is useful for creating and debugging your project.
Complete the following steps to create a custom configuration:
- Select Build»Configuration»Manage Configurations from the Workspace window menu to open the Manage Configurations dialog box. The configurations defined by LabWindows/CVI are listed in the Configuration List by default.
- Click the Add button to open the Add Configuration dialog box.
- Enter the name you want to appear in the Configurations submenu.
- Select whether the new configuration builds a release or debug target.
- Select whether the new configuration builds a 32-bit or 64-bit target.
- (Optional) Click Build Options to open the Configuration Options tab of the Build Options dialog box. Change the value of options as appropriate for your new configuration and click the OK button to save the changes and return to the Add Configuration dialog box.
Note LabWindows/CVI dims the Configuration menu in the Build Options and other sub-dialog boxes accessed through the Add Configuration dialog box. - (Optional) Click Target Settings to open the Target Settings dialog box for the target type you selected in the first step. Change the value of options as appropriate for your new configuration and click the OK button to save the changes and return to the Add Configuration dialog box.
- (Optional) Click the Executable and Arguments button to open the Specify Executable and Command Line dialog box. Change the value of options as appropriate for your new configuration and click the OK button to save the changes and return to the Add Configuration dialog box.
- (Optional) Click Build Steps to open the Build Steps dialog box. Change the value of options as appropriate for your new configuration and click the OK button to save the changes and return to the Add Configuration dialog box.
- Click the OK button to create the new configuration and return to the Manage Configuration dialog box. The custom configuration is displayed in the Configuration List.
When you exit the Manage Configurations dialog box, the custom configuration you created is listed as an option in the Build»Configuration submenu.
To remove a custom configuration, open the Manage Configurations dialog box, select the configuration you want to remove and click the Remove button.