gpt4 book ai didi

visual-c++ - 在 .vcxproj 文件中, 的可能值是什么?这些值是什么意思?

转载 作者:行者123 更新时间:2023-12-01 13:52:22 28 4
gpt4 key购买 nike

在 .vcxproj 文件中,ConfigurationType 的可能值是什么?这些值是什么意思? - 或者 - 我可以在 MSDN 的什么地方找到这些信息?我很难选择一个好的搜索字符串来回答我的问题。

我想我知道第一个问题的答案,但我想要确认/详细信息。

这是我认为我知道的:

  • Application 生成一个 exe。

  • DynamicLibrary 生成一个 .lib 和一个 .dll 文件。 (跟进这里,如果这是真的那么它总是产生两者吗?还是有产生一个或另一个的异常。也许我不小心想到了c++/cli? c++/cli 文件中是否有不同的可能性? )

那些是正确的,还有其他的吗?

最佳答案

您可以只打开 Visual Studio 项目属性中的下拉菜单来获取列表...但是 here是 MSDN 文档。

There are several configuration types from which to choose: Application (.exe), displays linker toolset (C/C++ Compiler, MIDL, Resource Compiler, Linker, BSCMake, XML Web Service Proxy Generator, custom build, prebuild, prelink, postbuild events). Dynamic Library (.dll), displays linker toolset, specifies /DLL linker option, and adds the _WINDLL define to CL. Makefile, displays makefile toolset (NMake). Static Library (.lib), displays librarian toolset (same as linker toolset except substitute librarian for linker and omit XML Web Service Proxy Generator). Utility, displays utility toolset (MIDL, custom build, prebuild, postbuild events).

关于visual-c++ - 在 .vcxproj 文件中,<ConfigurationType> 的可能值是什么?这些值是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30738872/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com