| 1 | ## Source layout |
| 2 | |
| 3 | ### Root directory |
| 4 | |
| 5 | - `3rdparty`: 3rd party headers and sources needed to compile PoDoFo; |
| 6 | - `cmake`: [CMake](https://cmake.org/) scripts and includes needed to compile PoDoFo; |
| 7 | - `examples`: Samples that use the PoDoFo API; |
| 8 | - `extern`: external git submodules. No one is currently needed to |
| 9 | compile PoDoFo library, but they may be needed to build the playground or tests; |
| 10 | - `src`: the main source directory; |
| 11 | - `test`: test suite; |
| 12 | - `tools`: the PoDoFo tools suite. |
| 13 | |
| 14 | ### Source directory |
| 15 | The `src` directory contains only a single `podofo` folder. |
| 16 | In this way it's easy to just include `src` when using PoDoFo |
| 17 | externally of the source tree, simulating the layout of prefixed |
| 18 | `include` after installation. The content of `podofo` is: |
| 19 | |
| 20 | - `main`: source directory with most of the library classes; |
| 21 | - `auxiliary`: directory with general purpose types/commodities |
| 22 | that are not specific to handling of the PDF specification. |
| 23 | Headers here are deployed as part of the public API; |
| 24 | - `private`: directory with private commodities/data needed to |
| 25 | compile PoDoFo library, and can be called by tools and tests |
| 26 | as well by means of a `podofo_private` static library target. |
| 27 | Headers here are not deployed as part of the public API; |
| 28 | - `staging`: directory with immature PoDoFo API extensions classes, |
| 29 | or with unclear ownership/maintenance. May be promoted to |
| 30 | main API or removed at any time. |