On Tue, 2009-06-02 at 10:39 +0200, Matthias Noll wrote:
> Hi,
> 
> I do not know if anyone can give support on the building functionalities 
> options but I'll ask anyway.
> 
> If I try to create my solution with cmake I have to include some some 
> libs with the
> TARGET_LINK_LIBRARIES command in CmakeList.txt of my functionality 
> directory.
> 
> Those Libs should just be added, if my functionality is checked for 
> building. How can I find out what variable
> is associated with the functionality build checkbox so that I can use a 
> IF/ENDIF command for a dependent inclusion.

Hi,

should be one of the many BUILD_QmitkMyFunctionality variables.
Something like

IF (BUILD_QmitkMyFunctionality)
  TARGET_LINK_LIBRARIES(QmitkMyFunctionality myzlib)
ENDIF (BUILD_QmitkMyFunctionality)

should work.

Regards
Daniel

-- 
Dipl.-Inform. Med. Daniel Maleike          Phone: +49 6221 42 2326
Deutsches Krebsforschungszentrum           Im Neuenheimer Feld 280
Medical and Biological Informatics (E130)         69120 Heidelberg



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to