[CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
Hi, With CMake 3.1.2, I don't see my specified COMMENT for a POST_BUILD command on a library target, viz: add_custom_command(TARGET ${LIB_TARGET} POST_BUILD COMMAND ln -sf $TARGET_LINKER_FILE_NAME:${LIB_TARGET}

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
Subject: Re: [CMake] COMMENT ignored for POST_BUILD custom command? On 20.03.2015 16:47, Chris Green wrote: The documentation doesn't suggest that this is intended behavior. Is this a bug, or am I doing something wrong? The desired action does get carried out during a build as desired

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Nils Gladitz
On 20.03.2015 19:41, Chris Green wrote: On 3/20/15 12:11 PM, Christopher H Green wrote: Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. I can confirm that with CMake 3.2.1, the expected COMMENT is printed with the UNIX Makefile generator, but not for the

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Christopher H Green
Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. Thanks, Chris. Sent from my cell. Original message From: Nils Gladitz Date:2015/03/20 11:57 (GMT-06:00) To: Christopher H Green ,cmake@cmake.org Subject: Re: [CMake] COMMENT ignored

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Nils Gladitz
On 20.03.2015 16:47, Chris Green wrote: The documentation doesn't suggest that this is intended behavior. Is this a bug, or am I doing something wrong? The desired action does get carried out during a build as desired, but there is no screen output of COMMENT to herald the generation of the

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
On 3/20/15 2:10 PM, Nils Gladitz wrote: On 20.03.2015 19:41, Chris Green wrote: On 3/20/15 12:11 PM, Christopher H Green wrote: Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. I can confirm that with CMake 3.2.1, the expected COMMENT is printed with