$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2020-03-06 16:27:51
On Fri, 6 Mar 2020 at 17:13, Edward Diener via Boost-build
<boost-build_at_[hidden]> wrote:
> On 3/6/2020 4:53 AM, Mateusz Loskot via Boost-build wrote:
> > On Fri, 6 Mar 2020 at 10:31, Edward Diener via Boost-build <boost-build_at_[hidden]> wrote:
> >>
> >> How can I then test for a directory as opposed to a non-directory file in a GLOB result?
> >
> > You could try to negate CHECK_IF_FILE, a built-in which checks if file
> > is a file.
>
> Thanks !
>
> An undocumented built-in ?
Yes, I think it is not displayed in the docs.
I learned about it while learning how to glob for .hpp files
to generate some targets, and reading the .jam sources
https://github.com/boostorg/build/blob/master/src/util/path.jam#L272
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net