What should I put in the jamroot.jam file so that libAPLibrary.so is linked to the compilation result of MyProject?
root | -MyProject | | -jamroot.jam | | -AnotherProject | -lib | -libAPLibrary.so
if libAPLibrary.so is already compiled, you must declare it and a link to it, like 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 ;