With -g you can specify a lot of different generators(mingw, codeblocks, ...), for more help run cmake.exe or check the documentation.
 
With -g you can specify a lot of different generators(mingw, codeblocks, ...), for more help run cmake.exe or check the documentation.