Setting the Project Configuration
Project configurations allow you to build your target file with different values for build options, target options, and so on without manually setting those options each time you build a target file. You can have several configurations for each project in a workspace.
LabWindows/CVI offers four default configurations:
- Debug—Builds a 32-bit debug version of your executable, DLL, or static library.
- Release—Builds a 32-bit release version of your executable, DLL, or static library.
- Debug64—Builds a 64-bit version of your executable, DLL, or static library.
- Release64—Builds a 64-bit release version of your executable, DLL, or static library.
In addition to the default configurations, you also can create custom project configurations.
When you create a new project, the Debug configuration is selected by default. To change the configuration, select Build»Configuration from the Workspace window menu and select the configuration you want to use to build the target file.
When you select a release configuration in the Configuration submenu, source modules execute faster and you have the option to compile the project code using an external compiler, but you cannot set breakpoints or use the debugging windows. Also, you have no protection from run-time memory errors such as using bad pointers, over-indexing arrays, passing incorrect array sizes, and so on.