From cb2fbe6d56dceeb2ffbc4cc8b3a7dc35727c21b2 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 4 Nov 2002 17:33:16 +0000 Subject: [PATCH] Added and features. [SVN r16098] --- gcc.jam | 10 ++++++++++ src/tools/builtin.jam | 3 +++ 2 files changed, 13 insertions(+) diff --git a/gcc.jam b/gcc.jam index 9a661f76b..d9372fa0e 100644 --- a/gcc.jam +++ b/gcc.jam @@ -31,6 +31,10 @@ rule compile ( target : sources * : property-set * ) { options += -I$(p:G=) ; } + else if $(p:G) = + { + options += $(p:G=) ; + } } OPTIONS on $(target) = $(options) ; } @@ -59,12 +63,18 @@ local rule link-options ( target : sources * : property-set * ) { findlibs += -l$(p:G=) ; } + else if $(p:G) = + { + libs += $(p:G=) ; + } else if $(p:G) = { libs += [ $(p:G=).actualize ] ; } } + DEPENDS $(target) : $(LIBS) ; + OPTIONS on $(target) = $(options) ; LIBS on $(target) = $(libs) ; FINDLIBS on $(target) = $(findlibs) ; diff --git a/src/tools/builtin.jam b/src/tools/builtin.jam index 9a35d4883..52336bf4e 100644 --- a/src/tools/builtin.jam +++ b/src/tools/builtin.jam @@ -23,10 +23,13 @@ feature rtti : on off : link-incompatible propagated ; feature debug-symbols : on off : propagated ; feature define : : free ; feature "include" : : free path ; +feature cxxflags : : free ; + feature dependency : : free dependency ; feature library : : free dependency ; feature find-library : : free ; feature library-path : : free path ; +feature library-file : : free path ; feature variant : : implicit composite propagated ;