Roman Tulchiner wrote:
> Thank you Marco,
>
> it was a great help.
> It goes with:
> FIND_LIBRARY(CLAPACK_LIBRARY clapack PATHS ${CLAPACK_DIR}/Release)
> FIND_LIBRARY(BLAS_LIBRARY blas PATHS ${CLAPACK_DIR}/blas/Release)
>
> and then
> LINK_LIB_TO_FUNCTIONALITY(...)
>
> Maybe you know how can I than differ between Visual Studios Release / Debug?
>
Hi Roman,
that's difficult since CMake does not know which configuration you pick
at build time. You can try the debug/optimized parameter of
TARGET_LINK_LIBRARIES, other people seem to copy the libs around using
CMAKE_CFG_INTDIR. If you create DLLs it's sometimes possible to mix
debug and release (do you want to debug clapack itself?) and if you can
build your libs with CMake as well I would use ADD_SUBDIRECTORY to
integrate that build and you can just write
LINK_LIB_TO_FUNCTIONALITY(FooBar clapack) without problems.
Maybe the CMake mailing list can help also.
Regards
Marco
--
----------------------------------------------------------------------
Dipl.-Inform. Med. Marco Nolden
Deutsches Krebsforschungszentrum (German Cancer Research Center)
Div. Medical & Biological Informatics Tel: (+49) 6221-42 2325
Im Neuenheimer Feld 280 Fax: (+49) 6221-42 2345
D-69120 Heidelberg eMail: [EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users