Bug 2459

Summary: Add ./waf --check-config option to reprint the summary of optional features from the configuration
Product: ns-3 Reporter: Peter Barnes <pdbarnes>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: proposed patch
Complete patch
3rd try
proposed patch

Description Peter Barnes 2016-08-04 16:01:58 UTC
Created attachment 2509 [details]
proposed patch

This patch adds a waf build option to reprint the summary of optional features which ends the configure step.

$ ./waf --help
...
  --check-profile       print out current build profile
  --check-config        Print the current configuration.
...

$ ./waf --check-config
Waf: Entering directory `./build'
---- Summary of optional NS-3 features:
Build profile                 : debug
...

I had to refactor the printing of the build profile to get it to work reliably during both configure and build phases.
Comment 1 Peter Barnes 2016-08-04 16:03:42 UTC
Created attachment 2510 [details]
Complete patch

Missed a diff in the original patch
Comment 2 Peter Barnes 2016-08-04 16:07:07 UTC
Created attachment 2511 [details]
3rd try

Finally think I have the bug number correct in RELEASE_NOTES and CHANGES.html
Comment 3 Peter Barnes 2016-08-04 16:08:42 UTC
Created attachment 2512 [details]
proposed patch
Comment 4 Tom Henderson 2016-08-04 16:10:28 UTC
+1 from me to merge shortly; putting in LAST CALL state
Comment 5 Tom Henderson 2016-09-20 02:20:24 UTC
pushed in changeset 12329:e0d961707c93