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:

  1. 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.
  2. Click the Add button to open the Add Configuration dialog box.
    1. Enter the name you want to appear in the Configurations submenu.
    2. Select whether the new configuration builds a release or debug target.
    3. Select whether the new configuration builds a 32-bit or 64-bit target.
    4. (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 Note  LabWindows/CVI dims the Configuration menu in the Build Options and other sub-dialog boxes accessed through the Add Configuration dialog box.
    5. (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.
    6. (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.
    7. (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.
    8. 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful