• <small id='WDj6M'></small><noframes id='WDj6M'>

      <bdo id='WDj6M'></bdo><ul id='WDj6M'></ul>
    <legend id='WDj6M'><style id='WDj6M'><dir id='WDj6M'><q id='WDj6M'></q></dir></style></legend>

      <i id='WDj6M'><tr id='WDj6M'><dt id='WDj6M'><q id='WDj6M'><span id='WDj6M'><b id='WDj6M'><form id='WDj6M'><ins id='WDj6M'></ins><ul id='WDj6M'></ul><sub id='WDj6M'></sub></form><legend id='WDj6M'></legend><bdo id='WDj6M'><pre id='WDj6M'><center id='WDj6M'></center></pre></bdo></b><th id='WDj6M'></th></span></q></dt></tr></i><div id='WDj6M'><tfoot id='WDj6M'></tfoot><dl id='WDj6M'><fieldset id='WDj6M'></fieldset></dl></div>
        <tfoot id='WDj6M'></tfoot>

      1. 如何在 Visual Studio IDE (2008) 中打开多 CPU/核心 C++ 编译?

        时间:2023-10-17
        • <tfoot id='09Owq'></tfoot>

          <i id='09Owq'><tr id='09Owq'><dt id='09Owq'><q id='09Owq'><span id='09Owq'><b id='09Owq'><form id='09Owq'><ins id='09Owq'></ins><ul id='09Owq'></ul><sub id='09Owq'></sub></form><legend id='09Owq'></legend><bdo id='09Owq'><pre id='09Owq'><center id='09Owq'></center></pre></bdo></b><th id='09Owq'></th></span></q></dt></tr></i><div id='09Owq'><tfoot id='09Owq'></tfoot><dl id='09Owq'><fieldset id='09Owq'></fieldset></dl></div>
            <tbody id='09Owq'></tbody>
          • <small id='09Owq'></small><noframes id='09Owq'>

                <bdo id='09Owq'></bdo><ul id='09Owq'></ul>

                  <legend id='09Owq'><style id='09Owq'><dir id='09Owq'><q id='09Owq'></q></dir></style></legend>

                  本文介绍了如何在 Visual Studio IDE (2008) 中打开多 CPU/核心 C++ 编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个 Visual Studio 2008 C++ 项目,它支持在编译时使用多个 CPU/内核.在 VCPROJ 文件中,我看到:

                  <工具名称="VCCLCompilerTool"附加选项=/MP"...

                  我找不到通过 IDE 添加的位置,我想设置另一个在编译期间使用我所有内核的项目.

                  我发现对

                  I have a Visual Studio 2008 C++ project that has support for using multiple CPUs/cores when compiling. In the VCPROJ file I see this:

                  <Tool
                      Name="VCCLCompilerTool"
                      AdditionalOptions="/MP"
                      ...
                  

                  I can't find where that was turned added via the IDE and I want to set up another project that uses all of my cores during compilation.

                  I found tons of references to the MSDN /MP page but that is for using the command line; I have yet to find any references to setting that with the IDE. How do I do that?

                  EDIT: To clarify, the two projects are completely separate and are not in the same VCPROJ file. I wanted to turn on support for multiple cores during the C++ compilation phase.

                  解决方案

                  To enable /MP option you could add it to Project Settings->C/C++->Command Line|Additional options. This is the only way to switch it on in vcproj.

                  这篇关于如何在 Visual Studio IDE (2008) 中打开多 CPU/核心 C++ 编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在 -std=c++11 -Weverything -Werror 中使用 clang++ 下一篇:获取模板化函数的地址是否应该触发其编译?

                  相关文章

                1. <small id='3OPw4'></small><noframes id='3OPw4'>

                  <i id='3OPw4'><tr id='3OPw4'><dt id='3OPw4'><q id='3OPw4'><span id='3OPw4'><b id='3OPw4'><form id='3OPw4'><ins id='3OPw4'></ins><ul id='3OPw4'></ul><sub id='3OPw4'></sub></form><legend id='3OPw4'></legend><bdo id='3OPw4'><pre id='3OPw4'><center id='3OPw4'></center></pre></bdo></b><th id='3OPw4'></th></span></q></dt></tr></i><div id='3OPw4'><tfoot id='3OPw4'></tfoot><dl id='3OPw4'><fieldset id='3OPw4'></fieldset></dl></div>

                  <legend id='3OPw4'><style id='3OPw4'><dir id='3OPw4'><q id='3OPw4'></q></dir></style></legend>
                      <bdo id='3OPw4'></bdo><ul id='3OPw4'></ul>

                    1. <tfoot id='3OPw4'></tfoot>