<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div style="direction: inherit;">Hi Neil,</div><div style="direction: inherit;"><br></div><blockquote type="cite"><div><div dir="ltr">I have a few questions related to updating/rebuilding cmb/smtk.<div><br><div>1. When cmb-superbuild is cloned (and submodules updated) does it pull in the current master head versions of cmb and smtk?</div></div></div></div></blockquote><div style="direction: inherit;"><br></div><div style="direction: inherit;">That depends on whether you have set the superbuild to developer mode or not. The default is not developer mode, which will fetch CMB and SMTK into the superbuild's **build tree** (i.e., not the superbuild source). They are currently both pulling the master branches, but that is likely to change.</div><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>2. To update my cmb-superbuild repo what do I need to do beyond 'git pull'?  I'm specifically thinking of the submodules; I've not encountered them before.</div></div></div></blockquote><div style="direction: inherit;"><br></div><div style="direction: inherit;">Yes, the superbuild recently changed and you need to</div><div style="direction: inherit;"><br></div><div style="direction: inherit;">1. Run "git submodule update --init" in the source directory after pulling, and</div><div style="direction: inherit;">2. Remove the "install" directory of any existing superbuild's build tree.</div><div style="direction: inherit;"><br></div><div style="direction: inherit;">You should always do #1 when updating the superbuild. #2 is because of some recent changes and you should always need to do this, although it is a good step to try when hitting build issues.</div><div style="direction: inherit;"><br></div><blockquote type="cite"><div dir="ltr"><div>3. I'm going to be testing model-builder on a workflow being developed, so I expect I'm going to want to be pulling in the latest changes on cmb/smtk.  What I'd like, is to use cmb-superbuild to build and package just the TPLs, which I can stick somewhere, and then build cmb/smtk from their repos, pointing to the TPL installation.  I'm sure this must be one of the workflows, but I don't know how to do it. I noted the DEVELOPER_MODE_{cmb,smtk} cmake variables, which I suspect are relevant somehow.</div></div></blockquote><div style="direction: inherit;"><br></div><div style="direction: inherit;">Yes, when the DEVELOPER_MODE_xxx variables are set, then only TPL libraries are built; you are expected to build CMB and/or SMTK elsewhere. Take care when you do this because you must use the same TPLs everywhere. On my machine, I will get system versions of boost, hdf5, gdal, etc. when I build SMTK without explicitly pointing CMakeCache.txt to the superbuild.</div><div style="direction: inherit;"><br></div><div style="direction: inherit;">    David</div></body></html>