Send CMake message to stdout instead of stderr
Checklist (Please check before submitting)
- [x] I reviewed the Contributing Guide.
- [ ] I signed and emailed the appropriate Contributor License Agreement to [email protected] and copied [email protected].
Describe the contribution
While executing the drac0-rc5 training exercises, I noticed on the first make prep call that the following message is printed to stderr
NOTE: Selected /home/cmartin/code/cFS/sample_defs/cpu1_cfe_es_startup.scr as source for cfe_es_startup.scr on cpu1
This seems like an informational message that would be more appropriate for stdout than stderr, so I added the STATUS keyword to the cmake message call.
Testing performed Before change
make prep > stdout.log # observe NOTE printed to screen despite passing stdout to file
After change
rm -rf build
make prep > stdout.log # observe nothing printed to screen 🎉
Expected behavior changes
- API Change: None
- Behavior Change: One message that used to go to stderr now goes to stdout
System(s) tested on
- Hardware: PC
- OS: Ubuntu 22.04
- Versions: draco-rc5
Additional context This is a bit of a trial balloon to feel out the cFS contribution process. I'm reading the CLAs now and will update or edit this once I have submitted. I won't be offended if you close this Pull Request with no action. Thank you for your hard work on this product and its outstanding documentation!
Contributor Info - All information REQUIRED for consideration of pull request Cody Martin