Building your application

 

To build your application using the Objecteering build system, you need Cygwin to use Make and GCC in order to compute dependencies.

 

Objecteering C++ Developer provides two systems for generating a makefile:

·         The default system, which is based on the manifested package in the PTM.  All files generated by Objecteering C++ Developer will be integrated for compilation.  This simplicity is useful for small-scale projects, where each generation operation leads to the generation of a single executable.

·         The propagation system, with which you can generate in a makefile only those elements that are really used by the application.  If the compilation artifact manifests a class or a set of classes, only elements directly used by these elements will be compiled.  For example, if you manifest the main class, the whole application will be compiled by propagation.  This system is useful when you are producing several executables from one set of source files, with each executable using a subset of these sources.

 

When you launch the generated makefile, dependency files are created first to minimize building, and then the compiler will rebuild the minimum set of cxx files.

 

If you need to use a specific library, you can import it into your project as a model component and then create a usage link between your compilation artifact and the compilation artifact of a provided library.