Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup the CXX_FLAGS. #565

Merged
merged 1 commit into from
Dec 7, 2018
Merged

Cleanup the CXX_FLAGS. #565

merged 1 commit into from
Dec 7, 2018

Conversation

clalancette
Copy link
Contributor

In particular, move them all into DefaultCFlags.cmake, which
cleans up the top-level quite a bit.

This should fix the last bit of #472, allowing us to close that out.

In particular, move them all into DefaultCFlags.cmake, which
cleans up the top-level quite a bit.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though I have not built Delphyne myself.


set (CMAKE_C_FLAGS_DEBUG " -ggdb3 ${CMAKE_C_FLAGS_ALL}" CACHE INTERNAL "C Flags for debug" FORCE)
set (CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clalancette no more debug builds :'( ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong feeling about it, though the default build (RelWithDebugInfo) does have -g turned on. If you regularly use debug and/or think this is useful, I can put this back. Thoughts?

Copy link
Contributor

@hidmic hidmic Dec 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does have -g turned on

If that's the case then I'm happy with the way it is.

@clalancette
Copy link
Contributor Author

Thanks @hidmic, merging this.

@clalancette clalancette merged commit bd2755f into master Dec 7, 2018
@clalancette clalancette deleted the cleanup-flags branch December 7, 2018 20:17
@stonier stonier mentioned this pull request Dec 7, 2018
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants