Re: Finding directory of a file

Edward Diener via Boost-build <[email protected]> Sat, 7 Mar 2020 01:10:46 -0500
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
On 3/6/2020 10:13 PM, Rene Rivera via Boost-build wrote:
> On Fri, Mar 6, 2020 at 8:56 PM Edward Diener via Boost-build 
> <[email protected] <mailto:[email protected]>> wrote:
> 
>     Given a filename with no path, how can I find the directory of that
>     file, starting my search from some specified directory, in Boost Build ?
> 
> 
> Do you mean finding the full path if you have a relative path? It's hard 
> to answer this one without knowing what you mean by "file".

By "file" I mean just the filename without any directory. I think 
path.glob-tree is my answer and then do $(some_result:D) to get the 
directory. Sorry, I should have investigated further before I posted the 
question.

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build