On 7/30/07, Timur Ivanov <[EMAIL PROTECTED]> wrote: > > Now I want to port all of that to cmake but can't find how to express > dependences for yacc and lex sources, that is if .y or .l file changes > proper .c file will be regenerated by yacc or lex.
You want ADD_CUSTOM_COMMAND. There's no inherent CMake support for yacc and lex, you have to roll your own. Chicken has extensive, commented, tutorialized examples of how to drive an unsupported language from CMake. http://www.call-with-current-continuation.org Cheers, Brandon Van Every _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
