rtems_waf Include File Detection Question
Hi 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? Thanks. --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems_waf Include File Detection Question
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 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems_waf Include File Detection Question
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 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 > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel