Skip to content

Use CMAKE_X_STANDARD and check for compiler ID rather than platform #362

Closed

Description

@mikaelarguedas

Activity

  1. added
    in progress
    on Jun 16, 2017
  2. mikaelarguedas commented on Jun 16, 2017

    @mikaelarguedas
    MemberAuthor

    @ros2/team CI is green for all the packages in the ros2.repos. CI on turtlebot repos almost done
    No outstanding change except migrating every repo using a "std" flag to using CMAKE_X_STANDARD. Note that you can still find -std=?? flags in the codebase when passing flags explicitely to specific targets.
    We will need ros2/rcutils#26 and ros2/rcl#141 to be updated to finish the migration

  3. dirk-thomas commented on Jun 16, 2017

    @dirk-thomas
    Member

    I reviewed the first block of changes and they all lgtm. I assume you will squash all changes into a single commit on the default branch? 👍

  4. mikaelarguedas commented on Jun 16, 2017

    @mikaelarguedas
    MemberAuthor

    yep, seems more convenient for everybody than opening PRs for all of them

  5. added
    in review
    and removed
    in progress
    on Jun 16, 2017
  6. mikaelarguedas commented on Jun 16, 2017

    @mikaelarguedas
    MemberAuthor

    💚 🍏 💚 on the 🤖 repos file as well

  7. mikaelarguedas commented on Jun 16, 2017

    @mikaelarguedas
    MemberAuthor

    Cool! I'll do that then!

  8. wjwwood commented on Jun 16, 2017

    @wjwwood
    Member

    Belated, but the second block looks good.

  9. mikaelarguedas commented on Jun 16, 2017

    @mikaelarguedas
    MemberAuthor

    👍 thanks. I'll push those and open a PR for the rosidl one that may have a slightly different change

  10. mikaelarguedas commented on Jun 17, 2017

    @mikaelarguedas
    MemberAuthor

    Ok all the commits landed. Not that all fils that were not explicitely passing astandard glag to the compiler have not been modified. This issue trackd only replacing any -std=c?? flags with setting the appropriate CMake standard variable

  11. removed
    in review
    on Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions