Hi,

I was pretty sure that you are referring to the USE_SYSTEM_* variables ;-)

Actually, in http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html 
(at the end) the process of using your own external libraries is 
explained. In the CMake GUI, there is a button "Add entry", which you 
can use to add ITK_DIR for example (you must do it in the superbuild 
build tree).

The rational for not providing USE_SYSTEM_* variables was to explicitly 
*not* making it too easy for beginners to use their own libraries. If we 
would provide such variables, you would still have to specify the value 
for ITK_DIR (if it is not automatically found by CMake, which it usually 
isn't) and we would have to add more complexity to the build system for 
checking if your "system libraries" are configured such that MITK is happy.

With the current approach, using external libraries is for advanced 
users who know how to configure them... (I know that sounds like an 
excuse for being lazy not implementing USE_SYSTEM_*).

Best,
Sascha

On 08/12/2011 02:01 PM, sebastian ordas wrote:
> Hi Sascha,
>
> Thank you for looking into it
>
> What I liked from TubeTK was just that you have USE_SYSTEM_CTK,
> USE_SYSTEM_ITK and USE_SYSTEM_VTK readily available in the CMake GUI
>
> but maybe the current approach in mitk is better
>
>
> from the previous posts in the thread, if you want to use your own
> VTK, you should:
>
> - in the CMakeExternals directory
> - look for e.g: IF (NOT DEFINED ITK_DIR)
> - do something else ...
>
> but I still don“t know how to proceed :-(
>
> regards,
> sebastian
>
>
>
> On Fri, Aug 12, 2011 at 8:32 AM, Sascha Zelzer
> <[email protected]>  wrote:
>> Hi Sebastian,
>>
>> Looking at TubeTK's build system, I cannot see any substantial differences.
>> What is it you are missing in MITK's build system and handling of
>> dependencies?
>>
>> Thanks,
>> Sascha
>>
>> On 08/12/2011 11:52 AM, sebastian ordas wrote:
>>> Dear Sascha and Marco,
>>>
>>> Just FYI: have a look to the way TubeTK organizes the build of system
>>> VTK, ITK and CTK
>>>
>>> http://www.vtk.org/Wiki/TubeTK/Development/Build
>>>
>>> maybe we can have something similar in MITK
>>>
>>> thank you!
>>>
>>> sebastian
>>


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to