Closed KOLANICH closed 4 years ago
Hi, thanks for the notes.
Currently, I am working on changes for next release and they are included in the retdec-lib
branch. As the name of the branch suggests plugin is being rewritten so that RetDec is linked to the plugin. I think that you are right and I will also provide option for RetDec not to be fetched but searched in standard places first.
If you fixed something you think is wrong then feel free to open a new pull request.
The reason why is this rapidjson
mentioned in target_link_libraries
is that it is only an interface library that is not being built. It servers only as an interface for the path of header files. But as I have removed rapidjson
from the repository (it is included in retdec::config
) I don't really think it is needed now. Thanks for noticing, I'll take a look at this.
I agree that CMakeListst.txt
needs and is going to get a little cleaning. This duplication happens, however, only on macOS/Linux (From MakeLists.txt: elseif(UNIX)
) and Windows
should not be affected.
Problems mentioned in this issue are now solved/merged into master.
If you want to use the RetDec library that is available somewhere in the system, you can use -DBUILD_BUNDLED_RETDEC=off.
I am closing this issue for now.
target_link_libraries
.CXX_STANDARD
, and then using explicit gcc-specific flag (i.e. unsuitable for Visual Studio). You should leaveonly CXX_STANDARD and maybe set it to 20 (it is the highest version used, not the lowest).