Creating, Including, or Removing Subprojects
Home Page (Projects) | Overviews | How Do I... Topics | NMAKE Reference
A subproject is a project that has a dependency relationship with another project. Sometimes this dependency consists of shared files, that need to be built in the subproject first; or it may include shared resources that need updating in the subproject first. The dependency relationship is established by the configuration settings.
What do you want to do?
Create a new subproject
Insert a subproject
Remove a subproject
To create a new project as a subproject
On the File menu, click New and then click the Projects tab.
Specify the Project Name and Location for the new project.
Click Add to Current Workspace, click the Dependency of box, and then select the name of the project you want the new project to be a subproject of.
Double-click the appropriate icon to create for your project type.
To include an existing project as a subproject
Open the workspace that contains the project to which you want to add an existing project as a subproject.
On the Project menu, click Insert Project into Workspace.
Select the project file (.dsp) you want to insert as a subproject.
Click the Dependency of box, and then select the project you want to create the subproject for from the drop-down list.
Click OK.
To remove a subproject from a project
- In the FileView pane, click the project and then select Delete on the Edit menu.