[CMake] How to Switch to Static Runtime on Command Line?

Osman Zakir osmanzakir90 at hotmail.com
Mon Oct 28 07:22:03 EDT 2019


Thanks for the reply.

What about enabling C++ exceptions?

And I should do "-DCMAKE_MSVC_RUNTIME_LIBRARY=/MT" to set the runtime type to static, right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191028/755afcab/attachment.html>


More information about the CMake mailing list