Better CMakeLists.txt handling
I think CMakeLists.txt should change if you change options in project configuration. And it would be great if creating a code file included adding it to the CMakeLists.txt file.
(Note: I see this more a wish than an issue)