[Cmake] Platform/Compiler specific values

Nils H. Busch nilsb at cns.mpg.de
Tue Nov 19 11:04:53 EST 2002


Hi,

what is the recommended way of defining/providing different sets of
platform and/or compiler specific variable (default) values. I found
somewhat different approaches in vtk, itk etc. Common to them, they
INCLUDE some *.cmake files somewhere in  CMakeLists.txt, bit I was
wondering, if a certain style of grouping platform/compiler variable
values is recommended.

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