On 7/13/07, Yegor Yefremov <[EMAIL PROTECTED]> wrote:
# executables add_executable (test ${SRCS}) add_custom_command (TARGET test POST_BUILD COMMAND ctags -R WORKING_DIRECTORY ${TEST_SOURCE_DIR} COMMENT "Creating tags" VERBATIM)
Does changing the order of COMMAND, WORKING_DIRECTORY, and COMMENT affect the output in any way? I wonder if it's possible you could be having a verbatim command of "ctags -R WORKING DIRECTORY ${TEST_SOURCE_DIR} COMMENT" or some weirdness like that. It would explain why you don't get a working directory or a comment. Also, try it without VERBATIM and see what happens. What is the output of "make VERBOSE=1" on a clean build? Oh, and get rid of this please: # some parameters set (CMAKE_VERBOSE_MAKEFILE OFF) Does that command turn off comments? Cheers, Brandon Van Every _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake