| Line | |
|---|
| 1 | # Hello World Example from the tutorial |
|---|
| 2 | # Copyright Joel de Guzman 2002-2004. Distributed under the Boost |
|---|
| 3 | # Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt |
|---|
| 4 | # or copy at http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 5 | # [Joel de Guzman 10/9/2002] |
|---|
| 6 | |
|---|
| 7 | # This is the top of our own project tree |
|---|
| 8 | project-root ; |
|---|
| 9 | |
|---|
| 10 | # Include definitions needed for Python modules |
|---|
| 11 | import python ; |
|---|
| 12 | |
|---|
| 13 | extension hello # Declare a Python extension called hello |
|---|
| 14 | : hello.cpp # source |
|---|
| 15 | # requirements and dependencies for Boost.Python extensions |
|---|
| 16 | <template>@boost/libs/python/build/extension |
|---|
| 17 | ; |
|---|
| 18 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.