[Bug 32299] allow out-of-tree builds, perhaps by using Autoconf
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 9 11:37:32 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=32299
--- Comment #3 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-06-09 02:37:32 PDT ---
(In reply to comment #2)
> Can you remind me of the difference between srcdir and top_srcdir?
No difference in this particular project, because it only has one Makefile.am.
top_srcdir is always the (possibly relative) path to the directory containing
our configure.ac. (If you're in a nested project with its own configure.ac,
like Wocky inside Gabble, then the top_srcdir is the dir containing Wocky's
configure.ac, not Gabble's configure.ac.)
srcdir is the (possibly relative) path to the source subdirectory that
corresponds to the build subdirectory you're in right now (so in an in-tree
build it's always ".").
> If we decide to go down the telepathy-core repo path, I will probably just
> merge this into that repo, so there's no point in merging it to telepathy-spec
> master.
That sounds like a good approach; copying my code will hopefully save you a bit
of time, at least.
> If we don't decide to have a telepathy-core repo, I'm slightly scared of
> driving autotools from CMake. Do you have an example of tp-glib or tp-qt4 using
> it as a submodule, or should I just try it out myself and come running to you
> with the pieces if/when I break it?
I certainly had it working in telepathy-glib once, but I've probably lost the
branch.
I don't know how it'd hook into CMake: worst case, we keep using the "copy the
XML" approach for tp-qt4, or submodule it in but then omit it from the CMake
equivalent of SUBDIRS and dist the necessary files by hand (much like we have
to do now anyway).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the telepathy-bugs
mailing list