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

remove shared flag from rmw library declaration #34

Closed
wants to merge 1 commit into from

Conversation

codebot
Copy link
Member

@codebot codebot commented Aug 24, 2015

by removing the SHARED keyword from the add_library call, we can set it externally and thus allow the cmake machinery to select between shared or static builds.

@codebot codebot added the in progress Actively being worked on (Kanban column) label Aug 24, 2015
@wjwwood
Copy link
Member

wjwwood commented Aug 24, 2015

Will we need a corresponding change to ament in order to keep the default behavior SHARED?

@codebot
Copy link
Member Author

codebot commented Aug 25, 2015

@dirk-thomas is the expert; I'm not sure if ament already sets the default library type...

@dirk-thomas
Copy link
Member

It does currently not set anything when invoking CMake.

@codebot
Copy link
Member Author

codebot commented Sep 8, 2015

we probably need to create our own ament flag for "what kind of library do you want" that defaults to SHARED, and then always pass that flag in to CMake, so that we don't have it hard-wired in the CMakeLists, but yet get shared libraries by default.

@jacquelinekay jacquelinekay assigned codebot and unassigned codebot Sep 15, 2015
@tfoote tfoote removed the in progress Actively being worked on (Kanban column) label Sep 15, 2015
@esteve
Copy link
Member

esteve commented Dec 22, 2016

I implemented the behavior that @codebot described, in ament/ament_tools#128 and removed the SHARED keyword from add_library(...) in ros2/rcl#93 #81 ros2/rosidl#183 and eProsima/Fast-CDR#8

@dirk-thomas
Copy link
Member

Superseded by #98.

@dirk-thomas dirk-thomas deleted the remove_shared_from_rmw_cmake branch April 10, 2017 15:20
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.

None yet

5 participants