2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00
Files
python/example
Tom Kent 97b0d9737c Fixes empty example
Uses of visual studio were getting a 'unresolved external symbol _mainCRTStartup' because there was no main() being linked into the test_embed.exe. I'm not a bjam expert, but I think that is because the embedding target is an executable (instead of an obj/lib?). I also have no idea if this was a problem on unix or if this fix will affect that platform.
2015-04-10 19:47:44 -05:00
..
2015-04-10 19:47:44 -05:00
2006-12-11 05:22:04 +00:00
2006-09-20 22:49:18 +00:00

.. Copyright David Abrahams 2006. Distributed under the Boost
.. Software License, Version 1.0. (See accompanying
.. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

To get started with the Boost Python Library, use the examples
getting_started1.cpp and getting_started2.cpp.  Invoking

    bjam --toolset=your-toolset test

in this directory will build and run the examples.  See
http://www.boost.org/more/getting_started.html for details about the
--toolset= option.

If you move this example from its place in the Boost development tree
you'll need to edit the two lines indicated in Jamroot and
boost-build.jam.