Skip to content

UseCorrade.cmake: fixing .metadata's output directory - #74

Closed
xiconxi wants to merge 1 commit into
mosra:masterfrom
xiconxi:cmake-libs-output
Closed

xiconxi wants to merge 1 commit into
mosra:masterfrom
xiconxi:cmake-libs-output

Conversation

@xiconxi

@xiconxi xiconxi commented Aug 14, 2019

Copy link
Copy Markdown
Contributor

UseCorrade.cmake: fixing custom-target<*.metadata> whileCMAKE_LIBRARY_OUTPUT_DIRECTORY is setted

@mosra mosra added this to the 2019.0b milestone Aug 16, 2019
@mosra

mosra commented Aug 16, 2019

Copy link
Copy Markdown
Owner

Hi, thank you for the contribution!

I wonder, would this work also if $<TARGET_FILE_DIR:${plugin_name}> was used instead of ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}? That would fix it to not require the extra branch.

The other function, corrade_create_plugins_symlink_for_executable(), is not used from any place and I think it could live in your codebase for now instead? As I mentioned in another issue, making this work better is on my list, so when that's done, this function shouldn't be needed anymore.

@xiconxi

xiconxi commented Aug 19, 2019

Copy link
Copy Markdown
Contributor Author

I haven't use cmake-generator-expressions before, that's much better than mine。

@xiconxi xiconxi closed this Aug 19, 2019
@mosra

mosra commented Aug 20, 2019

Copy link
Copy Markdown
Owner

Commited in bb45552, hopefully it works for you the way it should :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants