Is it possible to include the generator choice into the CMakeLists.txt? For instance: cmake -G CodeBlocks - Unix Makefiles Replace by CMAKE_GENERATOR CodeBlocks - Unix Makefiles Or something similar? Thanks