All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] What is the preferred way install additional cmake modules?
Date: Tue, 20 Oct 2015 18:52:05 +0200	[thread overview]
Message-ID: <56267135.7050303@gmail.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear All,

i am about to add the modemmanager-qt[1] package to Buildroot, which
for building depends on a set of additional cmake modules also
provided by the KDE project, called extra-cmake-modules[2], which
itself also uses cmake for building and installing.

 I managed to set up a working configuration to install the
extra-cmake-modules package with the following in my
extra-cmake-modules/extra-cmake-modules.mk file (_VERSION and other
variables are omitted here):


EXTRA_CMAKE_MODULES_INSTALL_STAGING = YES
EXTRA_CMAKE_MODULES_INSTALL_TARGET = NO

$(eval $(cmake-package))


and in my target package i add the 'extra-cmake-modules' to the
dependencies. In this case the .cmake files get installed in the

path-to-buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/us
r/share/ECM/cmake/

directory.

 My instinct would say that extra-cmake-modules is supposed to be a
host package (as then i wouldn't need to explicitly set
EXTRA_CMAKE_MODULES_INSTALL_TARGET to NO), so i tried this to define
as a host-cmake-package, make modemmanager-qt depending on
host-extra-cmake-modules, but then the cmake modules not found by the
modemmanager-qt build config.

In this latter case the .cmake files gets installed under:
path-to-buildroot/output/host/usr/share/ECM/cmake/


What is the preferred way to install this package? Install it as a
host-package, and specify a custom install target dir, or leave it as
plain cmake-package?



Thanks, regards
zgyarmati


[1]
https://projects.kde.org/projects/frameworks/modemmanager-qt/repository

[2] https://projects.kde.org/projects/kdesupport/extra-cmake-modules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWJnE1AAoJEAGmEeeR8iVhh20IAJPBBxS0h2nYHnqeNsaLg7nr
Om9yviFOVSfyPB2kouFP/C9bGZ5DGXM66tMgjjVbUpxbLkLyUoFAFLXp2ORdwTT2
aMJWLGurDD16iePOKyDjxEgv4C6Fl7gWgzPLHTRyyLAdJIxzHP5dykCZBwo1t2hW
AXH9mCS+pAM1yfa5Mk5Nw4uYeLqJ0NAttDQmXnMwilu9AV1bNejyzLeGSge5gdjb
YvbBDRkVRS8KMlZ2aG5JI/RKbK/RabSM4Mhtka4NYOGOqhDyQ2FpDj4b+FVaFeQn
opSJFuAecKT9RRb73N9ZT3Se+sYuBwB2sMdUZT3A30KzLbNnmoSDR9Itw/0RSfw=
=tPVc
-----END PGP SIGNATURE-----

             reply	other threads:[~2015-10-20 16:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 16:52 Zoltan Gyarmati [this message]
2015-10-20 18:54 ` [Buildroot] What is the preferred way install additional cmake modules? Yann E. MORIN
2015-10-20 20:43   ` Samuel Martin
2015-10-20 21:05     ` [Buildroot] Poison $(HOST_DIR)/usr/lib [was: Re: What is the preferred way install additional cmake modules?] Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56267135.7050303@gmail.com \
    --to=mr.zoltan.gyarmati@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.