Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-98905

CMake is adding un-wanted parameters unconditionally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2, 6.3
    • Build System: CMake
    • None
    • CMake 3.22.0, ninja 1.10.2, MSVC 2022
    • Windows

    Description

      I was building QtBase myself from the latest dev branch, after configuring Qt, I opened the generated impl-Release.ninja and found that CMake is adding some un-wanted parameters such as /GR and /EHsc unconditionally. If I recall correctly, there exists some CMake scripts in Qt to remove such parameters from CMAKE_xxx_FLAGS, now it seems it doesn't work as expected?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              wangwenx190 赵 宇航
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes