On Friday 20 February 2009 08:22:59 Aaron Turner wrote: > I seem to be missing something painfully obvious, but I'm not sure what. You don't enter it into add_custom_command, that's for shell commands., just enter "clean_standard_files()" into your CMakeLists.
You can't run CMake functions at "Make" time though, only "CMake" time (which will only be called to first generate or if the CMake files have changed). -- Cheers, Mike Arthur http://mikearthur.co.uk/ _______________________________________________ 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
