2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-02 20:52:13 +00:00

Added <library-file> and <cxxflags> features.

[SVN r16098]
This commit is contained in:
Vladimir Prus
2002-11-04 17:33:16 +00:00
parent 472f3005c9
commit cb2fbe6d56
2 changed files with 13 additions and 0 deletions

10
gcc.jam
View File

@@ -31,6 +31,10 @@ rule compile ( target : sources * : property-set * )
{
options += -I$(p:G=) ;
}
else if $(p:G) = <cxxflags>
{
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) = <library-file>
{
libs += $(p:G=) ;
}
else if $(p:G) = <library>
{
libs += [ $(p:G=).actualize ] ;
}
}
DEPENDS $(target) : $(LIBS) ;
OPTIONS on $(target) = $(options) ;
LIBS on $(target) = $(libs) ;
FINDLIBS on $(target) = $(findlibs) ;

View File

@@ -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 ;