Von: John Ellson <[EMAIL PROTECTED]>
> Brad King wrote:
> >
> > I've just added it to the FAQ:
> >
> >
> http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_libraries.3F
>
> >
> >
> > Note that KDE used to use convenience libraries and is doing just fine
> > without them.
Hi,
just as a hint, I solved it the following way:
lib/a/a.cmake
lib/b/b.cmake
lib/c/c.cmake
lib/c/CMakeLists.txt
now the .cmake files just contain conveniently named
variables (a_SRC, b_SRC, c_SRC)
and in lib/c/CMakeLists.txt I use a macro like
MY_LIBRARY( c SHARED ../a/a.cmake ../b/b.cmake ../c
John Ellson wrote:
how do I reference a symbol defined
in CMakeLists.txt in another directory for a list of source files?
e.g. in lib/graph/CMakeLists.txt I have:
SET(graph_SRCS attribs.c agxbuf.c edge.c graph.c
graphio.c lexer.c node.c parser.c refstr.c trie.c
)
and I want
Brad King wrote:
I've just added it to the FAQ:
http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_libraries.3F
Note that KDE used to use convenience libraries and is doing just fine
without them. They were really a hack in auto* because those tools
did not support