Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

cmake findable static linking configuration file(s) generation procedure was needed #17692

Open
kalcohol opened this issue Feb 26, 2020 · 2 comments
Labels
CMake CMake related bugs/issues/improvements Feature request

Comments

@kalcohol
Copy link

Description

  • now making procedure could generate static linking lib libmxnet.a, but for end users, it's not easy to link all these large bunch of third party static libs together, sequence of these may need adjusted each time.
  • under some conditions, static linking is required, safety reasons for example

References

  • the wanted generation procedure just like OpenCV install procedure does, create an OpenCVConfig.cmake file and other module or third party .cmake files.
  • for end users, writing down find_package() and target_link_libraries() is all works, that's so easy.

Good day everyone.

@leezu
Copy link
Contributor

leezu commented Feb 26, 2020

@kalcohol would you like to add this feature? If you can work on it, we can resolve it quickly. Otherwise it may take some more time before this issue gets resolved

You can refer to https://cliutils.gitlab.io/modern-cmake/chapters/install/installing.html

@kalcohol
Copy link
Author

@kalcohol would you like to add this feature? If you can work on it, we can resolve it quickly. Otherwise it may take some more time before this issue gets resolved

You can refer to https://cliutils.gitlab.io/modern-cmake/chapters/install/installing.html

i will try, it seems that i was caught in a trap of my own making.

@leezu leezu added the CMake CMake related bugs/issues/improvements label Feb 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CMake CMake related bugs/issues/improvements Feature request
Projects
None yet
Development

No branches or pull requests

2 participants