Added disabling user information to TPD
Compiler can be instructed to not generate the user and time
information in the header of the generated .cc and .hh files
by providing '-D' flag. However, ttcn3_makefilegen cannot
generate Makefile with this flag added to COMPILER_FLAGS.
To avoid Makefile postprocessing phase, a TPD schema of
'MakefileSettings' element has been extended with optional boolean
element 'disableUserInformation'. If set to true, '-D' flag
will be added to COMPILER_FLAGS in Makefile.
Signed-off-by:
Jacek Klimkowicz <jakl@semihalf.com>
Showing
- compiler2/makefile.c 9 additions, 5 deletionscompiler2/makefile.c
- compiler2/xpather.cc 9 additions, 7 deletionscompiler2/xpather.cc
- compiler2/xpather.h 1 addition, 1 deletioncompiler2/xpather.h
- etc/xsd/TPD.xsd 1 addition, 0 deletionsetc/xsd/TPD.xsd
- regression_test/compileonly/mfgen-tpd/Makefile 2 additions, 1 deletionregression_test/compileonly/mfgen-tpd/Makefile
- regression_test/compileonly/mfgen-tpd/disableUserInformation/.gitignore 3 additions, 0 deletions...t/compileonly/mfgen-tpd/disableUserInformation/.gitignore
- regression_test/compileonly/mfgen-tpd/disableUserInformation/Makefile 64 additions, 0 deletions...est/compileonly/mfgen-tpd/disableUserInformation/Makefile
- regression_test/compileonly/mfgen-tpd/disableUserInformation/a.tpd 51 additions, 0 deletions...n_test/compileonly/mfgen-tpd/disableUserInformation/a.tpd
Loading
Please register or sign in to comment