diff --git a/Jamfile b/Jamfile index c08e40ed7..714535bbc 100755 --- a/Jamfile +++ b/Jamfile @@ -1,5 +1,30 @@ +import modules ; + +BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ; + +ECHO $(BOOST_ROOT) + + use-project /boost/thread : $(BOOST_ROOT)/libs/thread/build ; + use-project /boost/filesystem : $(BOOST_ROOT)/libs/filesystem/build ; + use-project /boost/date_time : $(BOOST_ROOT)/libs/date_time/build ; + + + project torrent - : usage-requirements + : requirements + /boost/thread + /boost/date_time + /boost/filesystem + + /boost/thread + /boost/date_time + /boost/filesystem + + : usage-requirements + /boost/thread + /boost/date_time + /boost/filesystem + ./include $(BOOST_ROOT) @@ -7,6 +32,7 @@ project torrent /Zc:wchar_t /D"WIN32" + ; @@ -33,9 +59,9 @@ SOURCES = lib torrent : -# $(BOOST_ROOT)/libs/filesystem//boost_filesystem -# $(BOOST_ROOT)/libs/thread//boost_thread -# $(BOOST_ROOT)/libs/date_time//boost_date_time +# /boost/filesystem +# /boost/thread +# /boost/date_time zlib//zlib src/$(SOURCES) : ./include @@ -48,7 +74,8 @@ lib torrent exe client_test : examples/client_test.cpp torrent - : $(BOOST_ROOT) + : +# $(BOOST_ROOT) multi : debug release ;