On Thursday 31 May 2007 15:16, Alan W. Irwin wrote: > Hi Gustavo: ... > I am not sure the following is necessary if the source files are built in > the same directory where they are needed, but for the case where source > files are built in a different directory (the case for my generated > header), you must have your executable or library target depend on an empty > custom target which in turn depends on your custom command to insure the > source files get built before they need to be compiled. > > In any case, I do not think multiple invocations of cmake will be necessary > in order to use generated source files.
But if I understand correctly then at cmake time the files which will have to be compiled are not yet known, right ? I think this is a problem. Bye Alex _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake