What is the best way to auto detect library dependencies in a C/C++ project?

后端 未结 3 1179
轻奢々
轻奢々 2020-12-21 13:32

What is the best way to auto detect library dependencies in a C/C++ project?

I have a project where I have all the dependencies on the machine. It builds and runs. N

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-21 13:49

    On Windows I've used Dependency Walker for stuff like that. Its output is verbose, but it will generally show you every library that is required by the executable.

    I don't know of anything like that for linux or mac, but I'm sure something has to exist.

提交回复
热议问题