-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download Intercept library to vendor folder on build if needed #2
base: master
Are you sure you want to change the base?
Download Intercept library to vendor folder on build if needed #2
Conversation
It's an intercept plugin, of course it'll need intercept library? |
Yes, using this feature of CMake it will automatically download Intercept when building if not already available. It removes the need to have git installed (when downloading the template as an archive) or knowledge about how git submodules work. Not all clients will automatically initialize submodules which can be confusing to users. A new version of Intercept will also be automatically downloaded if version number if changed in the CMake file |
a111180
to
a5d7f41
Compare
Can you also change
|
Sure, I'll fix it @dedmen |
a5d7f41
to
3d7e2fa
Compare
:D trying to build on linux right now.. Guess what.. It didn't clone the submodule and thus the build fails.. duh.
get's the libs and builds just fi........ waaait..
Where did it get that install step from. There is no install step. intercept core doesn't have a install step. This apparently has for some reason. Do you know how to disable it?
Google tells me the ExternalProject adds that.
Didn't even notice before. But I see that the plugin is also compiling the intercept host binaries. Which ofcause isn't needed. This disables that. too. |
Okey that didn't work.
to disable the build and install steps. But that causes the plugin template to fail to find the intercept include which... Also hardcoded commit hash is a bad idea. Tons of people will grab this as zip. And then later on compile their plugins with a completly outdated intercept version while they don't know they have to update the hash.
The actual file link changing causing a new download is rather clear. But what about the branch download? |
I'll give it a go on Windows tonight and resolve any issues. I'm unable to get it to even start building with clang on macOS but the CMake parts works for me. |
6119365
to
cf27665
Compare
cff9bef
to
744f8cd
Compare
744f8cd
to
9ddbe9d
Compare
No description provided.