rtems_waf Include File Detection Question
Joel Sherrill
joel at rtems.org
Fri Jul 7 20:56:40 UTC 2023
Thanks. With a bit of help from Kinsey, the regulator example is
conditionally built-in rtems-examples only if the regulator.h header file
is installed.
On Wed, Jul 5, 2023 at 6:15 PM Chris Johns <chrisj at rtems.org> wrote:
> On 6/7/2023 8:24 am, Joel Sherrill wrote:
> > I have a case for an addition to rtems-examples where I want to know if a
> > particular header file is installed before enabling the example. How
> does one do
> > that in rtems_waf/wscripts?
>
> https://git.rtems.org/rtems_waf/tree/rtems_bsd.py#n65 ...
>
> conf.check(header_name='dlfcn.h', features='c')
>
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230707/b74698d9/attachment.htm>
More information about the devel
mailing list