Excluding /MP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QnJpYW4gQ29yY29yYW4=?=

    Excluding /MP

    I want to exclude /MP for one file (precompiled header .cpp file) but don't
    see a way to do that. I want to avoid the annoying D9030 warning. Any ideas
    on how to do this? /MP is inherited from the project settings, and I don't
    want to have to set it individually on each file.

    Thanks,

    Brian
  • David Lowndes

    #2
    Re: Excluding /MP

    >I want to exclude /MP for one file (precompiled header .cpp file) but don't
    >see a way to do that. I want to avoid the annoying D9030 warning. Any ideas
    >on how to do this? /MP is inherited from the project settings, and I don't
    >want to have to set it individually on each file.
    Brian,

    Can't you just *not* set it on that one file in the project?

    Dave

    Comment

    • =?Utf-8?B?QnJpYW4gQ29yY29yYW4=?=

      #3
      Re: Excluding /MP

      No, the /MP is inherited from the general project and can't be edited. The
      only workaround I know of is to separately set the switch for each .cpp file,
      which is too cumbersome.

      Brian

      "David Lowndes" wrote:
      I want to exclude /MP for one file (precompiled header .cpp file) but don't
      see a way to do that. I want to avoid the annoying D9030 warning. Any ideas
      on how to do this? /MP is inherited from the project settings, and I don't
      want to have to set it individually on each file.
      >
      Brian,
      >
      Can't you just *not* set it on that one file in the project?
      >
      Dave
      >

      Comment

      Working...