You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RetDec is a large-scale project containing multiple standalone libraries and binaries. It might be useful if we were able to install only certain parts of RetDec, for example just fileinfo and its dependencies.
I did some investigation and it doesn't look that good because of multiple reasons:
It is not transitive. So if I specify COMPONENT fileinfo to install target of retdec-fileinfo and use CMAKE_INSTALL_COMPONENT=fileinfo then only retdec-fileinfo is installed. Nothing else.
You cannot specify more than one component in install() directive therefore you can't for example have components for fileinfo, unpacker, ... because they share dependencies.
Solved in #670 using a custom solution - not a very elegant one, but does everything we want it to do and all the ugliness is located in a single file cmake/options.cmake.
RetDec is a large-scale project containing multiple standalone libraries and binaries. It might be useful if we were able to install only certain parts of RetDec, for example just
fileinfo
and its dependencies.This might be achieved through
COMPONENT
attribute ofinstall
directives in CMake but I have never tried it myself. (https://cmake.org/cmake/help/v3.13/command/install.html)The text was updated successfully, but these errors were encountered: