# inherit the exported flags
CppFlags $(<) : $($(i)_CPPFLAGS) : $(3) ;
CFlags $(<) : $($(i)_CFLAGS) : $(3) ;
- C++Flags $(<) : $($(i)_C++FLAGS) : $(3) ;
- LFlags $(<) : $($(i)_LFLAGS) : $(3) ;
+ C++Flags $(<) : $($(i)_CXXFLAGS) : $(3) ;
+ LFlags $(<) : $($(i)_LIBS) : $(3) ;
}
} else {
echo "WARNING: Trying to link" $(i)
rule C++Flags
{
- C++FLAGS on $($(<)_OBJECTS) += $(>) ;
+ CXXFLAGS on $($(<)_OBJECTS) += $(>) ;
if [ IsElem export : $(3) ] {
- $(<)_C++FLAGS = $(>) ;
+ $(<)_CXXFLAGS = $(>) ;
}
}
## Sets linker flags for a library, plugin or application target
rule LFlags
{
- LFLAGS on $($(<)_TARGET) += $(>) ;
+ LIBS on $($(<)_TARGET) += $(>) ;
if [ IsElem export : $(3) ] {
- $(<)_LFLAGS = $(>) ;
+ $(<)_LIBS = $(>) ;
}
}
## sure the dependency scanner is able to locate your header files. The
## directories are relative to the current subdir specified with the SubDir
## rule.
-## Implementation: The directories are simply added to the HDRS variable
+## Implementation: The directories are simply added to the HDRSEARCH variable
## which is respected by all jam rules.
rule IncludeDir
{
CppFlags $(<) : [ CreateIncludeFlags $(dir) ] ;
# needed for header scanning
- HDRS on $($(<)_SOURCES) += $(dir) ;
+ HDRSEARCH on $($(<)_SOURCES) += $(dir) ;
}
} else {
for i in $(<) {
dir = [ ConcatDirs $(SUBDIR) $(i) ] ;
CPPFLAGS += [ CreateIncludeFlags $(dir) ] ;
# needed for header scanning
- HDRS += $(dir) ;
+ HDRSEARCH += $(dir) ;
}
}
}