[Cmake] Using variables in CMakeLists.txt

Bill Hoffman bill.hoffman at kitware.com
Wed May 9 13:54:38 EDT 2001


I don't think it is safe.   The reason for the cache entry is so
we can tell if it is a project that we can depend on in a .dsw file.


At 01:31 PM 5/9/2001 -0400, Amitha Perera wrote:
>Is it safe to use the name of a library to extract its path? For
>example, in vxl, is it safe to do something like
>
>   INCLUDE_DIRECTORIES( ${netlib} )
>   INCLUDE( ${netlib}/CMakeListsLink.txt ) ?
>
>These variables are marked "INTERNAL" in the cache. If it is safe for
>the moment, how may things change when (if?) things change to put all
>the libraries in a single directory?
>
>Thanks,
>Amitha.
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 





More information about the CMake mailing list