OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000989OMNeT++command line toolspublic2017-01-30 17:472017-02-13 13:00
Reporterrhornig 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version5.1 
Target VersionFixed in Version 
Summary0000989: WITH_XXX macros should be passed as include file insetad of using the compiler command line
DescriptionGenerate 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-01-30 17:47 rhornig New Issue
2017-02-13 13:00 rhornig Severity minor => feature


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker