Re: [CMake] load_command not scriptable

2015-02-25 Thread David Cole via CMake
You could patch the executable to make cmLoadCommandCommand return true from IsScriptable... but if you're going to the trouble of patching CMake anyhow, why not simply build your loadable command directly into CMake...? The other thing might be to mention specifically what the performance

Re: [CMake] load_command not scriptable

2015-02-25 Thread Tobias Becker
Thanks for the Answer! I actually do not want to alter CMake in any way (and I don't want to create a custom cmake executable) if possible. load_command would have been perfekt. I am losing alot of performance in my map_set() map_get() etc functions which translate down to

[CMake] load_command not scriptable

2015-02-25 Thread Tobias Becker
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