[CMake] custom preprocessor
Ignacio Castaño
castano at gmail.com
Thu Jan 25 16:00:06 EST 2007
Hi,
I use a custom preprocessor to compile some of my files. For that to
work I create custom commands, so that for each c file, a gen.c file
is produced. Only the generated files are compiled. There's a
dependency between the gen.c and the c file, so that when the c file
changes the gen.c file is regenerated, but when a dependency of the c
file changes, it's not regenerated, because the c file is not being
scanned for dependencies.
How can I tell cmake to do that?
Thanks!
--
Ignacio Castaño
castano at gmail.com
More information about the CMake
mailing list