[Cmake] LoadCommand

Nils H. Busch nilsb at cns.mpg.de
Wed Feb 19 09:20:35 EST 2003


Hello,

when using LoadCommand to extend Cmake with a custom command capability:

Does this mean compiling a custom cmake with this new feature built in
(aka patching it) or is there a way in cmake to provide a custom
binary/module of this new command that can be loaded into cmake
dynamically during runtime ?
The latter would be preferably (at least to me) as one would not need to
provide a custom cmake with a project, but certainly it would require a
more elaborate mechanism.

If cmake can be extended only statically, can a rudimentary parser be
implemented with cmake commands as a *.cmake script ?

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