[CMake] Generating Source Files

Tyler Roscoe tyler at cryptio.net
Fri Apr 3 16:30:17 EDT 2009


On Fri, Apr 03, 2009 at 03:48:54PM -0400, Jeremy Cowgar wrote:
> The problem with this is, it seems that FILE( GLOB .. ) is running 
> before the custom command, thus, the first time I try to build, I get 
> all sorts of linking problems because EU_INTERPRETER_SOURCES is empty. 
> Now, the next time I run, it finds the files and things link properly.

You could use execute_process to run the translater at cmake time. Then
the files will be there by the time file(GLOB ...) runs.

tyler


More information about the CMake mailing list