[Cmake] Custom Commands
Kevin Wright
krw at viz-solutions.com
Tue May 14 15:37:31 EDT 2002
Hi All,
I'm just taking a look into using CMake here, so I'm brand new, please
forgive any stupid questions.
I'm trying to set up a sub-directory where first a source file is generated
using an external utility, then that source file (along with other static
ones) are to be built into a library.
So, I've used ADD_CUSTOM_COMMAND to create a target that will build the
extra source code, but I can't figure out how to incorporate that source
file into the library. I tried adding the output of the ADD_CUSTOM_COMMAND
to the source list of ADD_LIBRARY, but it complains during configuration
that the source file didn't exist.
Thanks any help,
Kevin.
More information about the CMake
mailing list