[CMake] Automatic Building of dependencies
Thomas.Voss at rub.de
Thomas.Voss at rub.de
Thu May 4 09:49:49 EDT 2006
Hi,
I've just started using cmake for building my projects and encountered the following
problem:
Assume the following dir structure:
Toplevel
|
----Application 1
|
----cmake
|
----CMakeLists.txt
|
----Library 1
|
----cmake
|
----CMakeLists.txt
|
----Library 2
|
----cmake
|
----CMakeLists.txt
The libraries depend on qt and include header-files that need to be processed by moc.
How Do I tell cmake in the CMakeLists.txt of "Application 1" that it should build the
libraries according to the CMakeLists.txt found in the library-specific cmake subdirs?
ADD_SUBDIRECTORY() doesn't work as the moc_* files aren't generated.
Thanks in advance,
Cheers,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20060504/c61c95c2/attachment.pgp
More information about the CMake
mailing list