Static runtime with Visual studio 2015
I try building applications with cxx flag /MT for release build and /MD for debug, but need to pass to the linker to the library libcmt and libcmtd accordingly.
As I can see now I can add libcmt or libcmtd to CMAKE_CXX_STANDARD_LIBRARIES, but how I can pass both libraries for all targets in the project?
Libraries libcmt and libcmtd is a part of static runtime.
Edited by Evgeny Fimochkin