[CMake] cmake_parse_arguments() is very slow

Andrew Hundt athundt at gmail.com
Thu Feb 20 16:03:53 EST 2014


It seems the cmake_parse_arguments() function is very slow, performing a
find on the full argument list for each argument, resulting in O(N*N)
performance. Could this function possibly be moved into a C++
implementation rather than a CMake implementation so it will run quickly?

Cheers!
Andrew Hundt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140220/9a189a94/attachment.html>


More information about the CMake mailing list