At 03:03 AM 5/13/2006, Brandon J. Van Every wrote:
>No I don't. You didn't tell me to RTFM and use the AddFileDependencies
>module.It seems to work, knock on wood.
That just does an OBJECT_DEPENDS. It will add a depend onto an object file.
It does
not add a depend onto a target or custom c
William A. Hoffman wrote:
ADD_DEPENDENCIES is only for adding depends between two targets. It can not
be used for files. You have to use the DEPENDS on the ADD_CUSTOM_COMMAND.
No I don't. You didn't tell me to RTFM and use the AddFileDependencies
module. :-) It seems to work, knock on wo
At 07:14 PM 5/12/2006, Brandon J. Van Every wrote:
>I'm building with cmake version 2.5-20060510. The following is either a bug,
>or I don't understand the docs because they're not terribly clear.
>
>
>ADD_CUSTOM_COMMAND(
> OUTPUT ${Chicken_BINARY_DIR}/cheese.c
> MAIN_DEPENDENCY ${Chicken_SOURC
I'm building with cmake version 2.5-20060510. The following is either a
bug, or I don't understand the docs because they're not terribly clear.
ADD_CUSTOM_COMMAND(
OUTPUT ${Chicken_BINARY_DIR}/cheese.c
MAIN_DEPENDENCY ${Chicken_SOURCE_DIR}/batch-driver.scm
COMMAND cp ${Chicken_SOURCE_DIR