On Dec 17, 2007 3:00 PM, Rodolfo Schulz de Lima <[EMAIL PROTECTED]> wrote: > Brandon Van Every escreveu: > > On Dec 17, 2007 2:29 PM, Rodolfo Schulz de Lima <[EMAIL PROTECTED]> wrote: > >> A workaround would be > >> computing a hash from the string and using it as a key, but once again, > >> it'd be a pain in the *** to do it in cmake script. > > > > I wouldn't shy away from trying it though. I wrote a "regex negation > > operator" in CMake script to work around CMake's limitations. The > > No... too difficult for not so much gain. I can live with a braindead > solution (using lists) until cmake supports *cough* lua *cough*. :)
What's so hard about writhing a hash function using only MATH(EXPR ...) ? Geez, once upon a time there were guys who wrote this using punch cards. Cheers, Brandon Van Every _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake