Skip to content

Instantly share code, notes, and snippets.

@alexdong
Created July 28, 2010 13:05
Show Gist options
  • Save alexdong/494422 to your computer and use it in GitHub Desktop.
Save alexdong/494422 to your computer and use it in GitHub Desktop.
using python ;
# Specify that the boost-python library exists under the name
# boost_python. That is, because the library was installed at the
# standard search path as /usr/lib/libboost_python.so, bjam will find
# it automatically. No need to specify the absolute path.
# lib libboost_python : : <name>boost_python-mt ;
lib libboost_python : : <name>boost_python ;
lib libboost_date_time : : <name>boost_date_time ;
# Set up the project-wide requirements that everything uses the
# boost_python library.
project
: requirements <library>libboost_python
: requirements <library>libboost_date_time
;
# Declare the extension modules. You can specify multiple
# source files after the colon separated by spaces.
python-extension plumrain : plumrain.cc ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment