Boost logo

Boost-Build :

Subject: [Boost-build] target naming
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-01-20 10:16:47


With a Jamfile as simple as:

  lib l : l.cpp : <link>shared ;
  exe hello : hello.cpp l ;

I can refer to the defined targets using different names (e.g., 'l',
'libl.so', 'bin/gcc-6.3.1/debug/libl.so'). Where are these aliases
defined ? Are they all registered to the engine (backend) ? Or is the
translation handled inside the Jamfile logic ?

Using the --debug-building option, I get output such as

     Building target './l'
     ...

    Usage requirements for l:

However, './l' isn't a known target, i.e. calling `bjam ./l` yields an
error.
What are the exact rules by which targets are named ?

Thanks,
        Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk