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 : 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) # devstudio fixes /Zc:wchar_t /D"WIN32" ; SOURCES = entry.cpp identify_client.cpp peer_connection.cpp piece_picker.cpp policy.cpp session.cpp socket_win.cpp stat.cpp storage.cpp torrent.cpp torrent_handle.cpp torrent_info.cpp tracker_manager.cpp http_tracker_connection.cpp udp_tracker_connection.cpp file_win.cpp sha1.c ; lib torrent : # /boost/filesystem # /boost/thread # /boost/date_time zlib//zlib src/$(SOURCES) : ./include multi static : debug release ; exe client_test : examples/client_test.cpp torrent : # $(BOOST_ROOT) multi : debug release ;