2012-07-18 47 views

回答

1

如果libAPLibrary.so已經編譯一個圖書館應聲明它和它的鏈接對項目,這樣一來:

lib libAPLibrary : : 
    # watch out for empty spaces, they are mandatory 
    <file>../AnotherProject/lib/libAPLibrary.so ; 

exe MyProject 
    : 
     # your project sources here 
     # this is a generic filter but you 
     # can replace it with file names 
     [ glob *.c* ] 

     # external libraries 
     libAPLibrary 
;