You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use CMAKE_X_STANDARD and check for compiler ID rather than platform #362
@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
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
Activity
mikaelarguedas commentedon Jun 16, 2017
@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
dirk-thomas commentedon Jun 16, 2017
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? 👍
mikaelarguedas commentedon Jun 16, 2017
yep, seems more convenient for everybody than opening PRs for all of them
mikaelarguedas commentedon Jun 16, 2017
💚 🍏 💚 on the 🤖 repos file as well
dirk-thomas commentedon Jun 16, 2017
The generators can set the
C_STANDARDon the target using this: http://docs.w3cub.com/cmake~3.5/prop_tgt/c_standard/#prop_tgt:C_STANDARDmikaelarguedas commentedon Jun 16, 2017
Cool! I'll do that then!
wjwwood commentedon Jun 16, 2017
Belated, but the second block looks good.
mikaelarguedas commentedon Jun 16, 2017
👍 thanks. I'll push those and open a PR for the rosidl one that may have a slightly different change
mikaelarguedas commentedon Jun 17, 2017
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