Setting the MSVC runtime in CMake

前端 未结 4 829
独厮守ぢ
独厮守ぢ 2020-12-04 17:34

I\'m following the instructions in the CMake FAQ entry \"How can I build my MSVC application with a static runtime?\" to centralize selection of the MSVC runtime for a bunch

4条回答
  •  心在旅途
    2020-12-04 18:10

    I took your code and generalized it to work for every existing configuration and not just for Debug/Release/RelWithDebInfo/MinSizeRel.

    Also I made it to work with gcc too - check it out here

提交回复
热议问题