[Cmake] Environment variables

Nils H. Busch nilsb@cns.mpg.de
Mon, 10 Feb 2003 14:43:51 +0100


Hello,

is it possible with CMake to query unix environment variables and set
CMake vars accordingly,
something like SET(A_CMAKE_VAR "$(A_UNIX_VAR)") ?

Is it possible to read/convert information from a project not generated
by CMake e.g. makefile content into a CMake project ? Basically, I want
to convert variables in Makefile convention ($(A_VAR)) to CMake
variables.

Thanks.

--
    Nils H. Busch
    Max-Planck-Institute of Cognitive Neuroscience
    phone:  ++49 (341) 9940-035 fax:  ++49 (341) 9940-204
    e-mail: nilsb@cns.mpg.de