Hi community,
I am trying to adapt Wei Dai's Crypto++ Library into a Juce Module format. I have managed to sort out many problems but there is one that I cannot figure out how to solve.
The problem is that the CryptoPP's translation units seem not to be ready to be collected in a single .cpp file. There are several same type definition, for instance:
Same thing happens with function templates.
I just wonder if there is any way to cope with this situation, I mean, to sort out this amalgamated compilation in order to try to compile CryptoPP similar in the original way.
Thank you in advance
Gabriel
Not that I know of, sadly... You could derive the repository and do the edits yourself? Looks like it's under the Boost Software License - I think you're safe, but IANAL and so suggest you double-check if you think that's a good idea.
for f in “${flist[@]}”
do
if [[ $f == “|” ]]; then
s=(${f//|/ })
module_file_name=${s[0]}
include_file_name=${s[1]}
else
module_file_name=$f
include_file_name=$f
fi
fname=“${module_name}_$module_file_name.cpp”
echo “Creating $fname”
echo “#include "$cryptopplib/$include_file_name.cpp"” > $fname
done