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:
10
gcc.jam
10
gcc.jam
@@ -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) ;
|
||||
|
||||
@@ -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 ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user