Generate your Build file Specification with Project Maker

Generate your Build file Specification with Project Maker

The Project Maker tool allows you to describe your projects by specifying your source files, include paths and defines. This tool is used mainly for the following cases:

  • Your project is not a Visual Studio one, and you can't use the BuildMonitor to intercept the build process.
  • To refine the external symbols.

How to use the ProjectMaker tool?

Create the build specification using the ProjectMaker tool

  • Launch the ProjectMaker tool; you can start it from the CppDepend Tools Menu.

    Launch Project Maker
  • Select the option: AddProject

    add Project
  • The next step is to specify the source files to analyze. For that there are two possibilities:

    • 1) Use the "Add Existing Directory" option: in this case you specify a directory from your disk to add all the directories and the C/C++ source files under it.
      Add Existing Directory
    • 2) Add a virtual directory and add the source files to it.
      Add a virtual directory
  • After adding the source files, you can specify the project properties.

    Specify project properties

    Include paths, Libs used and Defines are separated by;
  • Save this configuration with the .sl extension, and you can analyze this file with CppDepend.

How to Refine Externals?

After analyzing your projects, some external symbols could exist in the generic external project named "Externals".

Externals

To refine these external symbols,and put the symbols in the corresponding external project unstead of the generic one. you can follow the following steps:

  • Create a project as described before.
  • Add to it the directory where the library include files exist.
  • In the project properties you have to check the "Is this project is external" option.

    External option
  • Add the .sl file and save to the VisualCppDepend entries using the Browse button. sl file

CppDepend offers a wide range of features. It is often described as a Swiss Army Knife for C and C++ developers.

Start Free Trial