vendredi 10 avril 2015

Linking windows lib with project in Jamroot

I am facing problem to link windows based libs to project requirement in Jamroot file. Sample below -



project MyProject
: build-dir $(builddir)
: requirements <include>$(BOOST_HDRDIR)
<include>$(TOP)
<linkflags>-lboost_system
<linkflags>-lboost_filesystem
<linkflags>-lboost_thread


Above code works fine on linux and linking does happen but when i compile it with msvc toolset, it gives below link warning -



LINK : warning LNK4044: unrecognized option '/lboost_filesystem'; ignored


With what option should i use that will make these libs to be recognized during linking time?


Aucun commentaire:

Enregistrer un commentaire