Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8033

Use more idiomatic CMake for compiler features

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.0
    • cmake

    Description

      Specifically, we should replace

        string(APPEND CMAKE_CXX_FLAGS " -std=c++11")
      

      With CMAKE_CXX_STANDARD, and use compile feature requirements.

      And replace

        string(APPEND CMAKE_CXX_FLAGS " -Wformat-security")
      

      With compile options instead of appending to CMAKE_CXX_FLAGS.

      Attachments

        Activity

          People

            andschwa Andrew Schwartzmeyer
            andschwa Andrew Schwartzmeyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: