Cleanup: Static functions and stream flushing (cmakemain and cpack)
Refactorings split out from !3512 (closed).
Topic-rename: cleanup-statics-stream-flush
Edited by Craig Scott
Refactorings split out from !3512 (closed).
Topic-rename: cleanup-statics-stream-flush