Using CMake to generate Visual Studio C++ project files

前端 未结 8 1371
花落未央
花落未央 2020-12-02 05:48

I am working on an open source C++ project, for code that compiles on Linux and Windows. I use CMake to build the code on Linux. For ease of development setup and political

8条回答
  •  -上瘾入骨i
    2020-12-02 05:53

    As Alex says, it works very well. The only tricky part is to remember to make any changes in the cmake files, rather than from within Visual Studio. So on all platforms, the workflow is similar to if you'd used plain old makefiles.

    But it's fairly easy to work with, and I've had no issues with cmake generating invalid files or anything like that, so I wouldn't worry too much.

提交回复
热议问题