Answer the question
In order to leave comments, you need to log in
Is there a utility or script to copy or list dll dependencies?
I collect all sorts of different c ++ programs with bat scripts under windows and humanly with a make file in linux.
In Windows, you have to copy to the folder with executable files all the necessary dlls from those that are in non-standard places and are not visible in% PATH%. Now I do it in a crutch way: using the MS-based utility depends.exe, I look at which dlls the executable depends on (including what the necessary dlls depend on) and add all this joy to the assembly script with pens.
But firstly, it takes time, secondly, it’s ugly, thirdly, the list of necessary dlls from a person trying to compile my source may not be the same as I have on my computer, for example, my boost:: locale may require ICU and somewhere - some locale could be built without ICU but with iconv.
I want either some utility that ideally searches in the places indicated by it for all the dlls needed for the specified binary to work and then copies it all to the specified location ... or at least something that can be used to extract information from the exe file about the names of the dll-lek necessary for the work in a form convenient for later picking it in the script.
Does anyone know something similar?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question