You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/09/28 00:26:00 UTC

[jira] [Updated] (MESOS-8033) Use more idiomatic CMake for compiler features

     [ https://issues.apache.org/jira/browse/MESOS-8033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Schwartzmeyer updated MESOS-8033:
----------------------------------------
    Labels: cmake  (was: )

> Use more idiomatic CMake for compiler features
> ----------------------------------------------
>
>                 Key: MESOS-8033
>                 URL: https://issues.apache.org/jira/browse/MESOS-8033
>             Project: Mesos
>          Issue Type: Improvement
>          Components: cmake
>            Reporter: Andrew Schwartzmeyer
>            Priority: Minor
>              Labels: cmake
>
> Specifically, we should replace
> {noformat}
>   string(APPEND CMAKE_CXX_FLAGS " -std=c++11")
> {noformat}
> With {{CMAKE_CXX_STANDARD}}, and use [compile feature requirements|https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#compile-feature-requirements].
> And replace
> {noformat}
>   string(APPEND CMAKE_CXX_FLAGS " -Wformat-security")
> {noformat}
> With compile options instead of appending to {{CMAKE_CXX_FLAGS}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)