[Cmake] Environment variables

Nils H. Busch nilsb at cns.mpg.de
Mon Feb 10 08:43:51 EST 2003


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 at cns.mpg.de






More information about the CMake mailing list