I'm thinking about using Boost.Preprocessor in some project, but I don't want to make the entire Boost library a dependency.
Can I just copy it alone and get away with this? Otherwise, what are its dependencies?
I'm thinking about using Boost.Preprocessor in some project, but I don't want to make the entire Boost library a dependency.
Can I just copy it alone and get away with this? Otherwise, what are its dependencies?
On
As stated at http://www.boost.org/doc/libs/1_45_0/ , Preprocessor is a header only library. No run time library needed.
New Answer
I just got
bcpworking:./bcp --list preprocessor --boost=/usr/local/include/boost_1_45_0/ | grep -v preprocessorw/o the grep I get something like:
Original answer
Try using the boost
bcputility to copy itI did a quick
grep -R "include" /usr/include/boost/preprocessor/* | grep -v preprocessorand didn't come up with any matches. I could have sworn that config was needed.Edit (my grep-ful is weak =/)
grep -rh "include" /usr/include/boost/preprocessor/* | grep -v preprocessor | sort |uniqgrep -rhE "define\\s+BOOST_PP_FILENAME" /usr/include/boost/preprocessor/* | sort |uniqBOOST_PP_ITERATION_PARAMS_# don't seem to be
#definedanywhere. Strangely enough, they are#undefed in ./detail/iter/forward#.hpp so I'm probably missing some nested macro or other...