[CMake] load_command not scriptable

Tobias Becker becker.tobi at gmail.com
Wed Feb 25 05:46:57 EST 2015


Hi

I've been working on an open source project which provides alot of extra
cmake (in pure cmake) https://github.com/toeb/cmakepp.  I am however
hitting a performance bottleneck and want to get around that by using
load_command  (I know it is discouraged) however I have the problem that it
is not scriptable and all of my functions need to be available in script
mode.

Is there a way to load compiled commands into cmake after it was compiled?
 (I have even thinking about patching the executable to make
cmLoadCommandCommand return true in its IsScriptable method)

But there should be a simple way?


Cheers,

Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150225/3dc2a96d/attachment.html>


More information about the CMake mailing list