Closed aaronliu0130 closed 7 months ago
Another possibility is including CImg.h by making the upstream repo a submodule in this one:
https://github.com/GreycLab/CImg
Submodules lock to a specific commit so the code won't change on you unless you commit a newer version in the parent repo. To do updates, you would still need to go into the child repo and do a git pull origin master
and then, if it compiles and runs correctly, git commit the newer submodule in the parent repo, but it might be easier to track. The downside to submodules is it can require more work on the user doing a checkout. They have to git submodule update --init
on their first checkout but it does keep a nice separation between code bases.
I’ve considered that, but cloning the CImg repo requires downloading a lot more stuff than the library, including every single postcard the developers have received.
How can we test this? Step-by-step instructions, please.
What happened before?
We'd have to manually update CImg
What should happen with this fix?
CImg.h would auto-update if needed
Anything else we should know about this patch?