Don't use /MP option when not using MSVS CMake generator (PR #26392)

18 views
Skip to first unread message

VZ

unread,
Apr 18, 2026, 10:45:51 AM (6 days ago) Apr 18
to wx-...@googlegroups.com, Subscribed

It is useless in this case as make/Ninja generators only compile a single file at once anyhow and can also be harmful when using clang-cl compiler which gives warnings about unsupported option.


@MaartenBent Please let me know if you have any objections or see a better way to do this, but I need some way to fix it to avoid getting warnings about unrecognized option for every source file when using clang-cl.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26392

Commit Summary

  • 9a15037 Don't use /MP option when not using MSVS CMake generator

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26392@github.com>

Maarten

unread,
Apr 18, 2026, 4:56:48 PM (6 days ago) Apr 18
to wx-...@googlegroups.com, Subscribed
MaartenBent left a comment (wxWidgets/wxWidgets#26392)

I think this is the best way to do it, as using MSVC alone is not enough.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26392/c4274549813@github.com>

VZ

unread,
Apr 18, 2026, 6:28:21 PM (6 days ago) Apr 18
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26392)

Applied in the commit above.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26392/c4274681460@github.com>

VZ

unread,
Apr 18, 2026, 6:28:21 PM (6 days ago) Apr 18
to wx-...@googlegroups.com, Subscribed

Closed #26392.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26392/issue_event/24643260089@github.com>

Reply all
Reply to author
Forward
0 new messages