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

[Windows][melodic-devel] Fix install locations #442

Merged
merged 2 commits into from Feb 8, 2020

Conversation

seanyen
Copy link
Contributor

@seanyen seanyen commented Feb 7, 2020

@seanyen
Copy link
Contributor Author

seanyen commented Feb 7, 2020

@tfoote @dirk-thomas @rhaschke This is ready for review and merge. Thanks!

@dirk-thomas
Copy link
Member

dirk-thomas commented Feb 7, 2020

The changes the location of installed executables - putting them in bin / on the PATH rather than placing them in libexec where they are supposed to be invoked with rosrun`. That sounds like a breaking / undesired change to me.

@tfoote
Copy link
Member

tfoote commented Feb 7, 2020

I think this is changing the install rules the RUNTIME DESTINATION for libraries only. Do the libraries on Windows get installed to the RUNTIME DESTINATION not the LIBRARY DESTINATION?

@dirk-thomas
Copy link
Member

I think this is changing the install rules the RUNTIME DESTINATION for libraries only.

Ok, I missed that part. Sorry for the noise - ignore my previous comment.

@seanyen
Copy link
Contributor Author

seanyen commented Feb 7, 2020

Do the libraries on Windows get installed to the RUNTIME DESTINATION not the LIBRARY DESTINATION?

@tfoote On CMake\Windows, the shared library .DLL is treated as a RUNTIME target so it gets installed to RUNTIME DESTINATION.

A quote from CMake manual:

RUNTIME
Executables are treated as RUNTIME objects, except those marked with the MACOSX_BUNDLE property on macOS (see BUNDLE below.) For DLL platforms (all Windows-based systems including Cygwin), the DLL part of a shared library is treated as a RUNTIME target.

@tfoote tfoote merged commit 38c5429 into ros:melodic-devel Feb 8, 2020
@seanyen seanyen deleted the init_windows branch February 8, 2020 06:26
seanyen added a commit to seanyen/geometry2 that referenced this pull request Mar 25, 2020
tfoote pushed a commit that referenced this pull request Mar 27, 2020
* [Windows][melodic-devel] Fix install locations (#442)

* fixed install locations of tf2

* [windows][melodic] more portable fixes. (#443)

* more portable fixes.
ooeygui pushed a commit to ms-iot/geometry2 that referenced this pull request Oct 12, 2022
* reduce transform listener nodes

Signed-off-by: zhenpeng ge <zhenpeng.ge@qq.com>

* remove a blank line

Signed-off-by: zhenpeng ge <zhenpeng.ge@qq.com>

* improve code style

Signed-off-by: zhenpeng ge <zhenpeng.ge@qq.com>
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

3 participants