# 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 $(BOOST_ROOT) $(BOOST_ROOT) exception.cpp 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 BOOST_FILESYSTEM_DYN_LINK=1 # tell source we're building dll's dynamic # build only for dynamic runtimes $(BOOST_ROOT) $(BOOST_ROOT) exception.cpp 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