2011/3/9 David Cole <david.c...@kitware.com>: > This is a question for folks at Stack Overflow. Literally. :-) > > I'm assuming you mean "_add_library(${name} ${ARGN})"? > > The "override and call original with a leading _" is probably not well > documented anywhere. While it's useful on occasion, we do not recommend > using it if there's an alternate technique that you can use.
Besides from the list, where is documented the fact that you can override builtin CMake macro ? (like add_executable) Would be worth adding this fact to the doc of function and/or macro. I may propose a patch myself but I'm not sure to fully know how it is supposed to work (by design). -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake