project-root.jam
来自「C++的一个好库。。。现在很流行」· JAM 代码 · 共 31 行
JAM
31 行
import gcc ;
import property ;
rule yfc-compile ( target : sources * : property-set * )
{
PROPERTIES on $(target) = [
property.as-path [ property.remove incidental : $(property-set) ] ] ;
}
actions yfc-compile
{
echo $(PROPERTIES) > $(<)
echo $(>) >> $(<)
}
rule yfc-link ( target : sources * : property-set * )
{
PROPERTIES on $(target) = [
property.as-path [ property.remove incidental : $(property-set) ] ] ;
}
actions yfc-link
{
echo $(PROPERTIES) > $(<)
echo $(>) >> $(<)
}
IMPORT $(__name__) : yfc-compile yfc-link : : yfc-compile yfc-link ;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?