cmake: How to use check_something() macros with non-standard locations, Was: Re: invitation: try compiling kdelibs using cmake

Tanner Lovelace clubjuggler at gmail.com
Wed Feb 1 22:07:20 CET 2006


On 2/1/06, Brad King <brad.king at kitware.com> wrote:
> Alexander Neundorf wrote:
> > On Wednesday 01 February 2006 20:46, Brad King wrote:
> >>Meanwhile I suggest you just copy the Check* macros into KDE and edit
> >>them to have whatever interface you want.  That will serve as a good
> >>testing ground for evaluating new interfaces.
> >
> > Ok.
> > Do CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH as they are used now in cmake
> > also work with lists of directories ?
> > e.g. set(CMAKE_INCLUDE_PATH /some/dir  /another/include/dir)
>
> Yes.

How would you specify this when using them as environment variables?
Like this?

CMAKE_INCLUDE_PATH=/some/dir:/another/include/dir

Cheers,
Tanner Lovelace
--
Tanner Lovelace
clubjuggler at gmail dot com
http://wtl.wayfarer.org/
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.


More information about the Kde-buildsystem mailing list