Re: [CMake] target DEPENDS are ignored if the target is also used for the COMMAND

2009-10-27 Thread Alan W. Irwin
On 2009-10-27 14:01-0400 Brad King wrote: Alan W. Irwin wrote: cmake version 2.6-patch 4; Unix Makefiles; Linux (Debian stable with bootstrap build of CMake-2.6.4); What's the easiest way to try the "generator" test here (for Unix Makefiles) so we are doing exactly the same test? Get a CMa

Re: [CMake] target DEPENDS are ignored if the target is also used for the COMMAND

2009-10-27 Thread Brad King
Alan W. Irwin wrote: > cmake version 2.6-patch 4; > > Unix Makefiles; > > Linux (Debian stable with bootstrap build of CMake-2.6.4); > > What's the easiest way to try the "generator" test here (for Unix > Makefiles) > so we are doing exactly the same test? Get a CMake 2.6 source tree. Then run

Re: [CMake] target DEPENDS are ignored if the target is also used for the COMMAND

2009-10-27 Thread Alan W. Irwin
On 2009-10-27 12:03-0400 Brad King wrote: Alan W. Irwin wrote: The following CMake logic fragment illustrates the issue: add_executable(plhershey-unicode-gen ${plhershey-unicode-gen_SRCS}) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode.h COMMAND plhershey-unicode

Re: [CMake] target DEPENDS are ignored if the target is also used for the COMMAND

2009-10-27 Thread Brad King
Alan W. Irwin wrote: > The following CMake logic fragment illustrates the issue: > > add_executable(plhershey-unicode-gen ${plhershey-unicode-gen_SRCS}) > > add_custom_command( > OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode.h > COMMAND plhershey-unicode-gen > ${CMAKE_SOURCE_DIR}/fon

[CMake] target DEPENDS are ignored if the target is also used for the COMMAND (fwd)

2009-10-27 Thread Alan W. Irwin
). __ Linux-powered Science __ -- Forwarded message -- Date: Sat, 24 Oct 2009 10:21:52 -0700 (PDT) From: Alan W. Irwin To: cmake@cmake.org Subject: [CMake] target DEPENDS are ignored if the target is also used for the COMMAND The following CMake

[CMake] target DEPENDS are ignored if the target is also used for the COMMAND

2009-10-24 Thread Alan W. Irwin
The following CMake logic fragment illustrates the issue: add_executable(plhershey-unicode-gen ${plhershey-unicode-gen_SRCS}) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode.h COMMAND plhershey-unicode-gen ${CMAKE_SOURCE_DIR}/fonts/plhershey-unicode.csv ${CMAKE_C