visual-studio-2010 - nmake/VC++ 2010 : Compile without MSVCR100. dll 依赖

标签 visual-studio-2010 visual-c++ nmake

是否有任何 nmake 选项可以编译 Visual C++ 2010,而无需输出 dll 或 exe 依赖于 MSVCR100.dll ?

最佳答案

/MT 编译器开关用于静态链接到 CRT。您应该将其添加到 makefile 内的编译器选项中。

关于visual-studio-2010 - nmake/VC++ 2010 : Compile without MSVCR100. dll 依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8463073/

相关文章:

c++ - 使用托管和非托管 C++ 将 VS2008 升级到 VS2010 时出现问题

c++ - std::string size() 是 O(1) 操作吗?

visual-c++ - 如何在命令提示符下设置 v140_xp 工具集以使用 NMake 进行构建?

windows - 在 jom/nmake 读取的 makefile 中设置环境变量

c - 变量已在 a.obj 中定义

visual-studio-2010 - 配置 Visual Studio 2010 远程调试器

visual-studio-2010 - Visual Studio 2010 查找绿色波浪线

c# - 时间测量 CUDA 和 C#

c++ - 如何使用 visual studio c 在 win32 中拉伸(stretch)背景图像

c++ - 如何访问另一个本地的本地变量?