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

CMake: transitive target properties, macos rpath handling #1659

Closed
wants to merge 1 commit into from

Conversation

enetheru
Copy link
Contributor

@enetheru enetheru commented Nov 28, 2024

While working on the debug MSVC runtime linking, I found the information on making target properties transitive.

prepending target properties with INTERFACE_ makes the property transitive to consumers.
add normal MSVC_RUNTIME_LIBRARY to windows properties
add INTERFACE_ to BUILD_RPATH_USE_ORIGIN
add INTERFACE_ to POSITION_INDEPENDENT_CODE
add INTERFACE_ to OSX_ARCHITECTURES
enable INTERFACE_MACOSX_RPATH for origin rpath on macos

@enetheru enetheru force-pushed the macos_props branch 5 times, most recently from 8f46e7f to 89ac3d6 Compare November 29, 2024 03:36
prepending target properties with INTERFACE_ makes the property transitive to consumers.
add normal MSVC_RUNTIME_LIBRARY to windows properties
add INTERFACE_ to BUILD_RPATH_USE_ORIGIN
add INTERFACE_ to POSITION_INDEPENDENT_CODE
add INTERFACE_ to OSX_ARCHITECTURES
enable INTERFACE_MACOSX_RPATH for origin rpath on macos
@enetheru
Copy link
Contributor Author

enetheru commented Dec 5, 2024

Abandoning this PR, it was created on false premise.

@enetheru enetheru closed this Dec 5, 2024
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.

1 participant