Allow multiple snippets of information to be passed from Python to CMake
Because sys.stdout is involved in the process, only one call to printForCMake is allowed. An alternative implementation could use an object that collects all information to be passed to cmake and flushes it to cmake upon termination of the script.