[C++-sig] Boost tutorial Jamfile discrepancy

Gary Robinson grobinson at goombah.com
Sun Jun 26 15:01:34 CEST 2005


http://www.boost.org/libs/python/doc/tutorial/doc/html/python/hello.html 
says that the Jamfile for hello.cpp is

    subproject libs/python/example/tutorial ;

    SEARCH on python.jam = $(BOOST_BUILD_PATH) ;
    include python.jam ;

    extension hello                     # Declare a Python extension 
called hello
    :   hello.cpp                       # source
        <dll>../../build/boost_python   # dependencies
        ;


However the actual contents are:

    #   Hello World Example from the tutorial
    #   [Joel de Guzman 10/9/2002]
    
    #   Specify our location in the boost project hierarchy
    subproject libs/python/example/tutorial ;
    
    #   Include definitions needed for Python modules
    import python ;
    
    extension hello                     # Declare a Python extension 
called hello
    :   hello.cpp                       # source
        <dll>../../build/boost_python   # dependencies
        ;

They are quite different -- which is correct?

Gary



More information about the Cplusplus-sig mailing list