OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000989OMNeT++command line toolspublic2017-01-30 17:472017-02-13 13:00
0000989: WITH_XXX macros should be passed as include file insetad of using the compiler command line
Generate an omnetpp_features.h file from the top level makefile based on the content of the $DEFINES makefile variabe and incude this header in the main omnetpp.h file. At the same time remove the content of $DEFINES from the compiler command line.

This would allow the IDE to correctly show enabled/disabled code blocks for WITH_OSG etc. in the editor.

Tip: create a python script that takes the content of $DEFINE variable as a command line + the name of the header file and creates a header file with correct, conditional #DEFINE s. The tool should check also if the generated output is the same as the currently existing one and skip the generation in this case.

The tool should be added as a top level makefile rule to generate the header file.
No tags attached.
Issue History
2017-01-30 17:47rhornigNew Issue
2017-02-13 13:00rhornigSeverityminor => feature

There are no notes attached to this issue.