Openembedded Core Discussions
 help / color / mirror / Atom feed
* how to load cmake args from git?
@ 2017-06-22  8:42 Adam Trhon
  2017-06-22 21:51 ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Trhon @ 2017-06-22  8:42 UTC (permalink / raw)
  To: Openembedded Core

I have a recipe that is configured by cmake. The cmake arguments are hardcoded
in the recipe and set using the EXTRA_OECMAKE variable. For various reasons, I
would like to have the arguments in a file in the project's upstream repository 
(it's mine as well) and load them.

I came up with this:

do_configure_prepend() {
    PACKAGECONFIG_CONFARGS =" ${PACKAGECONFIG_CONFARGS} $(cat ${S}/oe_arguments.txt) "
}

but I am not very happy about using PACKAGECONFIG_CONFARGS - it feels hacky, the
arguments are not shown in cmake fail log and it cannot handle argumetns containing
spaces. Is there a cleaner way to achieve this?

Thank you
Adam

-- 
Ing. Adam Trhoň, Software Engineer
Touchless Biometric Systems s.r.o. | 
Palackého třída 180/44 | 61200 Brno | CZECH REPUBLIC | 
Mobile: +42(0) 721 565 113 | tbs-biometrics.cz


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-05 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22  8:42 how to load cmake args from git? Adam Trhon
2017-06-22 21:51 ` Burton, Ross
2017-06-23 10:57   ` Adam Trhon
2017-06-23 12:53     ` Burton, Ross
2017-06-23 13:21       ` Adam Trhon
2017-07-05 13:59         ` Adam Trhon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox