[CMake] file depending on a target

2006-05-14 Thread Brandon J. Van Every
How can I make a file depend on a target? I have a lexer SILEX.EXE that I generate. I need other files to depend on the existence of SILEX.EXE, so that I can lex and create new output. It seems like target-depends-on-target is dealt with, and file-depends-on-file, and even

[CMake] performance of SET() vs. LIST(SET ...) ... and one feature request

2006-05-14 Thread Alexander Neundorf
Hi, for testing the performance of appending items to a list via SET(var ${var} item) vs. LIST(SET var item) I wrote two ruby scripts which generate CMakeLists.txt which do nothing else than this. They do: -generate 100 variables -call set(var ${var} newItem) and respectively list(set var