Visual Studio Solutions / Multiple project : How to effectively propagate project properties amongst several C++ projects

后端 未结 5 1378
南旧
南旧 2020-12-04 08:38

I am working with a Visual Studio 2005 C++ solution that includes multiple projects (about 30). Based upon my experience, it often becomes annoying to maintain all the prop

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 09:28

    Yes, I'd definitely suggest using CMake. CMake is the best tool (I think I've actually tried them all) which can generate Studio project files.

    I also had the issue of converting existing .vcproj files into CMakeLists.txt, and I wrote a Ruby-script which takes care of most of the conversion. The script doesn't handle things like post-build steps and such, so some tweaking is necessary, but it will save you the hassle of pulling all the source file names from the .vcproj files.

提交回复
热议问题