I am using boost build in my project and now I want to use boost_time. I googled and found that it should (probably) be used this way:
exe test : test.cpp /boost/date_time//date_time ;
but then I get this message:
error: Unable to find file or target named error: '/boost/date_time//date_time' error: referred from project at error: '.'
(when I use -lboost_date_time as the gcc flag manually, then it works correctly) I thought the library should be added to site-config.jam, so I tried to add this:
project /boost/date_time ; lib date_time ;
but it does not affect.
What am I doing wrong?
Thaks
Edit: I'm not looking for a solution that just works. I need something that will work for everyone with the proper installation of boost.build and boost modules.
source share