Boost python module building
- by Ockonal
Hello, I'm using boost.python and I need in building some module for it. I have an some_module.cpp file in project. How can I build it correctly to the shared library for using it with python in future?
When I learned it, I had only 1 file and I built it with command:
gcc -shared -Wl,-soname,hello.so -o hello.so test.cpp -I /usr/include/python2.6/ -lboost_python
And I don't know how to configure it in whole project.
I'm using Eclipse and Code::Blocks IDEs.