Hi Steve,
On 24-Aug-15 7:02 PM, Steve Lorimer wrote:
I've suddenly had bjam fail for only 1 instance of this tag-file action.
error: target {
Jamfile</home/steve/src/vc/cay/strategies/athena/gui>%Jamfile</home/steve/src/vc/cay/strategies/athena/gui>.tag-file-.
{ common%common.copy-athena_gui.EXE { gcc%gcc.link-athena_gui.EXE {
gcc%gcc.compile.c++-main.o.OBJ { main.cpp.CPP } } { ... } } } } } has no
type
This is the Jamfile which is failing:
constant EXE : *athena_gui* ;
exe $(EXE)
: [ glob *.cpp *.cc *.h *.qrc ]
/cay/algo_gui/app//app
/cay/strategies//*athena*/msg/
;
install install-target : $(EXE) : <location>. ;
notfile . : @tag-file : install-target : ;
actions tag-file
{
$(TOP)/utils/bash/rm_tagged_output.sh $(>) short
cp $(>) $(>).$(SHORT_TAG)
}
I think the problem is not really with this Jamfile. The error message means that somewhere, where
Boost.Build needs a target with a type, it got instead the target with 'tag-file' as action and
no type. In other words, it got a target produced by the 'notfile' metatarget. Naturally,
that does not have a file type, since it's not even supposed to produce a file. Could it
be that some other Jamfile refers to this one?
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build