Book Image

C++ Application Development with Code::Blocks

By : BIPLAB MODAK, Biplab Kumar Modak
Book Image

C++ Application Development with Code::Blocks

By: BIPLAB MODAK, Biplab Kumar Modak

Overview of this book

Table of Contents (13 chapters)

Use of external tools for a project


Code::Blocks allows user to use external tools for any project. Imagine we want to use doxygen tool to generate documentation without using the DoxyBlocks plugin. We can add doxygen as an external tool and then use it on demand.

  1. Go to Tools | Configure tools… menu option to add a new tool. The following window will be opened:

  2. Click on the Add button to add a new tool. The following window will be opened:

  3. Enter following details:

    • Set Name property to doxygen. This value will be used to create a new menu item under Tools menu

    • Set Executable property to C:\Program Files\doxygen\bin\doxygen.exe

    • Set Parameters property to ${PROJECT_DIR}doxygen\doxyfile

    • Set Working directory property to ${PROJECT_DIR}doxygen\

  4. Click on the OK button to close this window and then click on the OK button to close User-defined tools window. A menu item will be created under Tools menu option.

  5. Navigate to Tools | doxygen menu option and the doxygen tool will be launched inside a console window. Press any key to close this console window when it has completed.

We can use any other tool in a similar manner.