Re: [CMake] Generated source files and dependencies(+) (Esben Mose Hansen)

2008-09-16 Thread ZNV
availible online alongside with already perfect per-command help it will be so nice! WBR, Mejedi > Date: Mon, 15 Sep 2008 09:15:44 +0200 > From: Esben Mose Hansen <[EMAIL PROTECTED]> > Subject: Re: [CMake] Generated source files and dependencies(+) > To: cmake@cmake.org > M

[CMake] Generated source files and dependencies(+)

2008-09-14 Thread ZNV
Hi! I am generating header file for subsequent use by multiple libraries/executables in CMake-controlled build. My preliminary solution which happens to work is the following; I wonder if it is correct. project(FOO) add_custom_target(generate ALL DEPENDS ${FOO_BINARY_DIR}/generated.h) add_custom_