OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000282OMNeT++IDE / otherpublic2011-04-27 10:212011-04-27 11:33
andras 
andras 
normalminoralways
resolvedfixed 
4.1 
4.2b2 
0000282: New project wizard generates incorrectly set up "Source-Sink example" project
Create a new project:

File -> New -> New OMNeT++ Project -> choose Examples/Source-Sink Example -> Next -> [X] Make separate src and simulations folders -> Finish.

Open Project Properties -> OMNeT++/Makemake page -> Error is displayed: "Root build folder <projectname> contains no Makefile"

Error is misleading: it indeed contains both "Makefile" and "Makefile.vc" : the real error is that the project folder is designated as "No Make" instead of "Custom Make". Manually switching it to "Custom Make" makes the error go away.

Possibly other project templates (i.e. not only "Source-Sink example") also suffer from this problem.

No tags attached.
Issue History
2011-04-27 10:21andrasNew Issue
2011-04-27 10:28andrasNote Added: 0000423
2011-04-27 11:33andrasNote Added: 0000424
2011-04-27 11:33andrasStatusnew => resolved
2011-04-27 11:33andrasFixed in Version => 4.2b2
2011-04-27 11:33andrasResolutionopen => fixed
2011-04-27 11:33andrasAssigned To => andras

Notes
(0000423)
andras   
2011-04-27 10:28   
Another bug: if you fix the above (by switching the project root to "Custom Make") BUT delete Makefile, then it does NOT complain about missing makefiles...
(0000424)
andras   
2011-04-27 11:33   
Fixed.

Also: now it is possible to set "custom make" for a folder.
Specify <foldername>:CUSTOM in the makemakeOptions= template variable in template.properties (use "." to name the project root folder)

Example:
makemakeOptions = .: CUSTOM, src: --deep --meta:recurse --meta:auto-include-path --meta:export-library --meta:use-exported-libs