| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*************************************** | ||
| 2 | Auteur : Pierre Aubert | ||
| 3 | Mail : pierre.aubert@lapp.in2p3.fr | ||
| 4 | Licence : CeCILL-C | ||
| 5 | ****************************************/ | ||
| 6 | |||
| 7 | #ifndef __PROJECT_PARAM_H__ | ||
| 8 | #define __PROJECT_PARAM_H__ | ||
| 9 | |||
| 10 | #include "generator_trait_include.h" | ||
| 11 | |||
| 12 | ///@brief Set of parameters to generate a project | ||
| 13 | struct ProjectParam{ | ||
| 14 | ///Name of the project | ||
| 15 | PString name; | ||
| 16 | ///Version of the project | ||
| 17 | PString version{"0.1.0"}; | ||
| 18 | ///Name of the configuration file | ||
| 19 | PPath configFile{"Config"}; | ||
| 20 | ///Output path of the full project | ||
| 21 | PPath outputProjectDir{"./"}; | ||
| 22 | ///Output path of the sources | ||
| 23 | PPath outputSourceDir{"./src"}; | ||
| 24 | ///Output path of the unit tests | ||
| 25 | PPath outputTestDir{"./TESTS"}; | ||
| 26 | ///Configuration of classes to be generated | ||
| 27 | PVecDataConfig vecDataConfig; | ||
| 28 | ///Mode to be used to generate the project | ||
| 29 | GeneratorMode mode; | ||
| 30 | }; | ||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | #endif | ||
| 36 |