How can one achieve what the following code is trying to do?
#include \"dir/*\"
Look at how Boost does this for, say, utility.hpp.
$ cat /usr/include/boost/utility.hpp
// Boost utility.hpp header file -------------------------------------------//
#ifndef BOOST_UTILITY_HPP
#define BOOST_UTILITY_HPP
#include
#include
#include
#include
#include
#include
#endif // BOOST_UTILITY_HPP
Now you can just use #include .