天天看点

cmake 命令行 生成 vs2012项目

cmake -G “Visual Studio 11”

注意11后面不能有空格,如果之前有cmake -G “Visual Studio 11 Win64”编译过x64项目,这里如果有空格的话,会生成x64的项目,和x86的出错

各种fatal error