"Roberto Aguilar" <roberto.c.aguilar gmail.com> writes:
> Hello,
>
> I just started working with Boost and became interested
in using the
> Boost.Build system for all the source code I'm
maintaining. The code
> is a mix of C, C++, Python, Perl and Fortran. I
decided to start
> working with Boost.Build v2 and tried to see if I can
build a python
> program. I created a tree structure like so:
>
> top/
> |
> +-- Jamroot
> |
> +-- apps/
> | |
> | +-- pytest/
> | | -- Jamfile
> | | -- pytest (this is a python script)
> |
> +-- libs/
> | |
> | +-- pylib/
> | | | -- Jamfile
> | | | -- pylib.py
> | |
> | +-- cpplib/
> | | | -- Jamfile
> | | | -- cpplib.cpp (this is a Boost.Python
"wrapper")
>
> First, I checked $/tools/build/v2/tools and
saw that there
> is a python.jam file, but it looks like it is strictly
for building
> Python C++ extensions.
We also use it to build embedding applications. Just put
/boost/python//boost_python in your list of sources. Or if
you want
the static library, use
/boost/python//boost_python/<link>static and
add <define>BOOST_PYTHON_STATIC_MODULE to your list of
requirements... but it doesn't look like that's what
you're trying to
do. I think your question is not in my domain of expertise.
Volodya?
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|