[CMake] SPECIFYING THE DEPENDENCY BETWEEN NON-C FILES
Oh K
dmbmate at gmail.com
Wed Sep 28 05:09:06 EDT 2005
Hello,
I wonder if someone can help me with specifying the dependency rules
between inexistent files.
The situation is as follows: A header file named 'H-a.h', is supposed
to be created by an extenal tool named T using the other file named
'F-a.txt' during the build process. Of course, there is a c file
named 'C-a.c' dependant to 'H-a.h'. I know there is a dependency
between 'H-a.h' and 'F-a.txt', while there is no such file, 'H-a.h'
before the beginning of a build. I tried SET_SOURCE_FILES_PROPERTIES
like SET_SOURCE_FILES_PROPERTIES(H-a.h PROPERTIES OBJECT_DEPENDS
F-a.txt)'. However, I continue to fail to generate a dependency rule
between these 2 files. I think it does not work because the H-a.h is
not an object file.
I wonder if there is some proper ways to create the dependency rule
between non-C files.
K Oh
More information about the CMake
mailing list