raghukalyan
raghukalyan

Reputation: 11

boost.build Vs boost.python

Context -- Trying to use Boost.Python set of C++ libraries to interface with C++ code. Main idea is to test C++ code (.so files) by using them like python from a QA point of view.

Questions now;

  1. BOOST_PYTHON_MODULE wrapper, do we really need to include in every .cpp to be interfaced from Python? Say we have test.cpp, can't we have Boost wrapper written test_qa.cpp so that actual dev code is not changed in the process?

  2. Looked Boost.org site to get more clarity, what is the difference between Boost.Build and Boost.Python?

Upvotes: 0

Views: 254

Answers (1)

Some programmer dude
Some programmer dude

Reputation: 409364

From the Boost Build documentation:

Boost.Build is an easy way to build C++ projects, everywhere.

From the Boost Python documentation:

... a C++ library which enables seamless interoperability between C++ and the Python programming language

I would say the difference between these two parts of Boost should be pretty obvious.

Upvotes: 1

Related Questions