|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000989||OMNeT++||command line tools||public||2017-01-30 17:47||2017-02-13 13:00|
|Assigned To|| |
|Product Version||5.1|| |
|Target Version||Fixed in Version|| |
|Summary||0000989: WITH_XXX macros should be passed as include file insetad of using the compiler command line|
|Description||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.
|Tags||No tags attached.|