*** empty log message ***

This commit is contained in:
Arvid Norberg 2004-04-14 03:32:02 +00:00
parent 21e3c387ca
commit 220b6c4b88
2 changed files with 16 additions and 16 deletions

28
Jamfile
View File

@ -9,11 +9,7 @@ use-project /boost/thread : $(BOOST_ROOT)/libs/thread/build ;
use-project /boost/filesystem : $(BOOST_ROOT)/libs/filesystem/build ; use-project /boost/filesystem : $(BOOST_ROOT)/libs/filesystem/build ;
use-project /boost/date_time : $(BOOST_ROOT)/libs/date_time/build ; use-project /boost/date_time : $(BOOST_ROOT)/libs/date_time/build ;
lib winsock : : <name>wsock32.lib ; REQUIREMENTS =
project torrent
: requirements
<include>./include <include>./include
<include>./zlib <include>./zlib
<include>$(BOOST_ROOT) <include>$(BOOST_ROOT)
@ -36,19 +32,15 @@ project torrent
# darwin switches # darwin switches
<toolset>darwin:<cxxflags>-Wno-unused-variable <toolset>darwin:<cxxflags>-Wno-unused-variable
;
: usage-requirements USAGE_REQIREMENTS =
<include>./include <include>./include
<include>$(BOOST_ROOT) <include>$(BOOST_ROOT)
<variant>release:<define>NDEBUG <variant>release:<define>NDEBUG
<define>BOOST_ALL_NO_LIB <define>BOOST_ALL_NO_LIB
; ;
LIBS = ;
SOURCES = SOURCES =
allocate_resources.cpp allocate_resources.cpp
alert.cpp alert.cpp
@ -89,9 +81,10 @@ ZLIB_SOURCES =
# some windows specific settings # some windows specific settings
if [ modules.peek : NT ] if [ os.name ] = NT
{ {
LIBS += winsock ; lib winsock : : <name>wsock32.lib ;
REQUIREMENTS += <library>winsock ;
SOURCES += file_win.cpp ; SOURCES += file_win.cpp ;
} }
else else
@ -99,11 +92,18 @@ ZLIB_SOURCES =
SOURCES += file.cpp ; SOURCES += file.cpp ;
} }
project torrent
: requirements
$(REQUIREMENTS)
: usage-requirements
$(USAGE_REQUIREMENTS)
;
lib torrent lib torrent
: :
src/$(SOURCES) src/$(SOURCES)
zlib/$(ZLIB_SOURCES) zlib/$(ZLIB_SOURCES)
$(LIBS)
: :
<threading>multi <threading>multi
<link>static <link>static

View File

@ -247,8 +247,8 @@ int main(int argc, char* argv[])
// ses.set_upload_rate_limit(100000); // ses.set_upload_rate_limit(100000);
// ses.set_download_rate_limit(50000); // ses.set_download_rate_limit(50000);
ses.set_http_settings(settings); ses.set_http_settings(settings);
// ses.set_severity_level(alert::debug); ses.set_severity_level(alert::debug);
ses.set_severity_level(alert::info); // ses.set_severity_level(alert::info);
for (int i = 0; i < argc-1; ++i) for (int i = 0; i < argc-1; ++i)
{ {