Create a non-empty cpp file as output from the custom command.
Fixed Windows warnings.