Create an External Project

You can create a project to run external commands, such as batch files or other executables that you have created outside of the development environment. You can use the resulting project, which runs inside the development environment, to build your program(s).

To add an external project to an existing project workspace

  1. On the File menu, click New.

  2. In the New dialog box, click the Projects tab.

  3. In the Project Name text box, type a name for the project.

  4. From the list of project types, select Makefile.

  5. Choose to either:
  6. Select any of the available platforms for which you want to create initial Debug and Release configurations.

  7. Click OK.

    Visual C++ prompts you to open the Project Settings dialog box and explicitly specify the tool that the development environment must run to build the project.

  8. From the following list, select the options that apply or fill in the appropriate information in the text boxes.
  9. Click the Debug tab.

  10. Select the General category from the Category list, and type in the text boxes the information required for debugging. The development environment uses this information when you choose commands such as Go or Step Into on the Debug menu.
  11. Select the Additional DLLs category from the Category list on the Debug tab, and specify the information required for debugging. The development environment uses this information when you choose commands such as Go or Step Into on the Debug menu.