Re: [CMake] Re: macro within a custom command

2006-05-19 Thread Brandon J. Van Every
Brad King wrote: Brandon J. Van Every wrote: DEPLIST(chicken build chicken-ffi-macros chicken-more-macros tweaks) SIMPLE_SCM_TO_C(chicken) You could take advantage of variable macro arguments. The token "${ARGN}" will be replaced by arguments beyond those explicitly named. Try something lik

Re: [CMake] Re: macro within a custom command

2006-05-19 Thread Brad King
Brandon J. Van Every wrote: DEPLIST(chicken build chicken-ffi-macros chicken-more-macros tweaks) SIMPLE_SCM_TO_C(chicken) You could take advantage of variable macro arguments. The token "${ARGN}" will be replaced by arguments beyond those explicitly named. Try something like this (untested):

[CMake] Re: macro within a custom command

2006-05-19 Thread Brandon J. Van Every
Brandon J. Van Every wrote: If there's no way to perform a simple text substitution on a custom build rule's COMMAND line, then that's really really irritating. I still would like a text substitution macro, but I did find a semi-elegant way around being stuck with DEPENDS in ADD_CUSTOM_COMMA