On Jan 7, 2008 7:07 PM, Jesse Corrington <[EMAIL PROTECTED]> wrote: > Can the command for add_custom_command be a macro or does it need to be a > built in cmake command? Thanks
It can't be a macro. It can't be any CMake command. The COMMAND has to be some sort of shell command, like running a tool. You could execute a CMake script containing CMake commands using "COMMAND ${CMAKE_COMMAND} -P myscript". Cheers, Brandon Van Every _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake