1 // boost/filesystem.hpp --------------------------------------------------------------//
3 // Copyright Beman Dawes 2010
5 // Distributed under the Boost Software License, Version 1.0.
6 // See http://www.boost.org/LICENSE_1_0.txt
8 // Library home page: http://www.boost.org/libs/filesystem
10 //--------------------------------------------------------------------------------------//
12 #ifndef BOOST_FILESYSTEM_FILESYSTEM_HPP
13 #define BOOST_FILESYSTEM_FILESYSTEM_HPP
15 #include <boost/config.hpp> // for <boost/config/user.hpp>, in case
16 // BOOST_FILESYSTEM_VERSION defined there
18 # if defined(BOOST_FILESYSTEM_VERSION) \
19 && BOOST_FILESYSTEM_VERSION != 2 && BOOST_FILESYSTEM_VERSION != 3
20 # error BOOST_FILESYSTEM_VERSION defined, but not as 2 or 3
23 # if !defined(BOOST_FILESYSTEM_VERSION)
24 # define BOOST_FILESYSTEM_VERSION 3
27 #if BOOST_FILESYSTEM_VERSION == 2
28 # include <boost/filesystem/v2/config.hpp>
29 # include <boost/filesystem/v2/path.hpp>
30 # include <boost/filesystem/v2/operations.hpp>
31 # include <boost/filesystem/v2/convenience.hpp>
34 # include <boost/filesystem/v3/config.hpp>
35 # include <boost/filesystem/v3/path.hpp>
36 # include <boost/filesystem/v3/operations.hpp>
37 # include <boost/filesystem/v3/convenience.hpp>
41 #endif // BOOST_FILESYSTEM_FILESYSTEM_HPP