As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
simple answer: you can not do this.The codeblocks projects generated by cmake are so called "makefile" projects. In this mode all settings within the ide are ignored and everything is taken from the makefile.