On 28.04.2011 15:44, Matt Clarkson wrote:
> Thanks Thomas.
> 
> Just a few more questions, if you or anyone else have the time.
> 
> So, do you 
> 
> a) compile MITK, (along with your choice of ITK, VTK etc. versions), and 
> store this somewhere on your network and never touch it.  Then in your own 
> project, just set the INCLUDE_DIRECTORIES, and library paths, and build 
> against it, which means adding CMake code to pull in all the right dynamic 
> libraries when you assemble and pack your executable.
> 
> b) Include MITK in your source tree, setting all the right CMake flags, so 
> that effectively MITK is compiled as libraries as part of your own project.  
> This would mean that each developer has their own copy of MITK within their 
> development environment. 
> 
> It sounds like you do option b.  So, do you regularly update your version of 
> MITK? or do you pull the latest MITK version using svn/git as part of your 
> build process?
> 
> Many thanks,
> 
> Matt

Hi Matt,

your're welcome.

Yes, you are right, we do option b). One reason not to connect it
automatically to another repository is to have own, stable revsions
versioned in our repository. From time to time, we update and adjust our
project code and go along again for some while. (Merging with some kind
of rsync tool)

Option a) is an alternative which I consider as an enhancement. The big
plus is speed up of compilation time, because some of the stuff is
untouched by the actual project and prebuilt. So maybe I split the
makefiles up into building 3rdparty stuff and building the project by
referencing the externals.

But its not purely b) or a). Yes, we have the sources in the project
under /3rdparty and yes, they will be compiled by the developer (if we
apply patches or so, thus changes occur).
BUT: The main project uses just the normal cmake mechanism, like
findMITK and so on.

One can consider the MITK api as pretty stable, so you do not have to
update often. We just do it out of necessity if we encounter a bug or
need something, and check if it has been fixed in the meantime.

Regards,
Thomas

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to