Files
filesystem/build/Jamfile
Beman Dawes 8f91eb8b7a add abi, dll, auto_link
[SVN r20948]
2003-11-25 18:37:32 +00:00

52 lines
1.6 KiB
Plaintext

# Boost Filesystem Library Build Jamfile
# (C) Copyright Beman Dawes 2002
# Use, modification, and distribution is subject to the Boost Software
# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# See library home page at http://www.boost.org/libs/filesystem
subproject libs/filesystem/build ;
SOURCES = exception operations_posix_windows path_posix_windows convenience ;
lib boost_filesystem
: ../src/$(SOURCES).cpp
: # build requirements
[ common-names ] # magic for install and auto-link features
<include>$(BOOST_ROOT) <sysinclude>$(BOOST_ROOT)
<no-warn>exception.cpp <no-warn>operations_posix_windows.cpp
: debug release # build variants
;
dll boost_filesystem
: ../src/$(SOURCES).cpp
: # build requirements
[ common-names ] # magic for install and auto-link features
<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
<runtime-link>dynamic # build only for dynamic runtimes
<include>$(BOOST_ROOT) <sysinclude>$(BOOST_ROOT)
<no-warn>exception.cpp <no-warn>operations_posix_windows.cpp
: debug release # build variants
;
install filesystem lib
: boost_filesystem boost_filesystem
;
stage stage/lib : boost_filesystem boost_filesystem
:
# copy to a path rooted at BOOST_ROOT:
$(BOOST_ROOT)
# make sure the names of the libraries are correctly named:
[ common-names ]
# add this target to the "stage" and "all" psuedo-targets:
stage
all
:
debug release
;
# end