c++ - How should I provide library binaries to developers? -


i want make easy others work on repository. however, since of compiled dependencies on 100mb in size, cannot include them repository. github rejects files.

what best way handle large binaries of dependencies? building libraries source not easy under windows , takes hours. don't want every developer struggle process.

i've been working on using ivy (http://ant.apache.org/ivy/) c++ binaries. basic idea build binaries every build combination. zip each build combination file name mypackage-windows-vs12-x86-debug.zip. in ivy.xml, associate each zip file 1 configuration (ex: windows-vs12-x86-debug). publish package of multiple zip files ivy repo. can either host repo or can try upload existing ivy repo. create package of zip files each dependency, , ivy.xml files describe dependency chain among packages.

then, developers must set ivy. in ivy.xml files, list package dependency, along configuration need (ex: windows-vs12-x86-debug). need add ivy resolve/retrieve step build. ivy download zip files package , package depends on. need set unzip & move tasks in builds extract binaries providing, , put them in places build expecting.

ivy's cool tool streamlined java , not c++. when it's set up, it's pretty great. however, in experience person not familiar devops @ all, integrating c++ build has been challenging. found easiest create simple ant tasks required ivy actions, use "regular" build system (make) call ant tasks when needed.

so should mention reason looked using ivy was implementing in corporate environment couldn't change system files. if , developers can that, may better off rpm/apt system. you'd set repo , developers add repo appropriate rpm/apt config file. run commands sudo apt-get install mypackage , apt-get work of downloading , installing right files in right places. don't know how work on windows, maybe has created windows rpm/apt client.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -