gpt4 book ai didi

c++ - 如何在 Microsoft Visual C++ 2019 中选择较旧的编译器?

转载 作者:行者123 更新时间:2023-12-03 17:49:16 24 4
gpt4 key购买 nike

如所写 here ,在“项目设置”下,我应该能够指定用于当前项目的编译器。但是,我在 Visual Studio 2019 中找不到此菜单项。

我有 Visual C++ 2019 和 2013,并且想使用带有旧编译器的新 IDE。我该怎么做?

是否可以使用“社区”版本来做到这一点?

最佳答案

这是官方说明,取自 this page :

  1. In Visual Studio, in Solution Explorer, open the shortcut menu for your project (not for your solution) and then choose Properties to open your project Property Pages dialog box.

  2. In the Property Pages dialog box, open the Configuration drop-down list and then select All Configurations.

  3. In the left pane of the dialog box, expand Configuration Properties and then select General.

  4. In the right pane, select Platform Toolset and then select the toolset you want from the drop-down list. For example, if you have installed the Visual Studio 2010 toolset, select Visual Studio 2010 (v100) to use it for your project.

  5. Choose the OK button.



您可以在下面看到我的窗口的屏幕截图:

screenshot of config window

关于c++ - 如何在 Microsoft Visual C++ 2019 中选择较旧的编译器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55904811/

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