├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── docs ├── Doxyfile ├── Makefile ├── _generate │ ├── python_cpp_example.add.rst │ └── python_cpp_example.subtract.rst ├── conf.py ├── cpp_code.rst ├── index.rst ├── make.bat └── python_code.rst ├── setup.py ├── src └── python_cpp_example │ ├── __init__.py │ ├── bindings.cpp │ ├── hello.py │ ├── math.cpp │ └── math.hpp └── tests ├── __init__.py ├── cpp_test.py ├── math_test.py ├── test_main.cpp └── test_math.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/README.md -------------------------------------------------------------------------------- /docs/Doxyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/Doxyfile -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_generate/python_cpp_example.add.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/_generate/python_cpp_example.add.rst -------------------------------------------------------------------------------- /docs/_generate/python_cpp_example.subtract.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/_generate/python_cpp_example.subtract.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/cpp_code.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/cpp_code.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/python_code.rst: -------------------------------------------------------------------------------- 1 | .. automodule:: python_cpp_example -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/setup.py -------------------------------------------------------------------------------- /src/python_cpp_example/__init__.py: -------------------------------------------------------------------------------- 1 | from .python_cpp_example import * 2 | -------------------------------------------------------------------------------- /src/python_cpp_example/bindings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/src/python_cpp_example/bindings.cpp -------------------------------------------------------------------------------- /src/python_cpp_example/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/src/python_cpp_example/hello.py -------------------------------------------------------------------------------- /src/python_cpp_example/math.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/src/python_cpp_example/math.cpp -------------------------------------------------------------------------------- /src/python_cpp_example/math.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/src/python_cpp_example/math.hpp -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cpp_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/tests/cpp_test.py -------------------------------------------------------------------------------- /tests/math_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/tests/math_test.py -------------------------------------------------------------------------------- /tests/test_main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include -------------------------------------------------------------------------------- /tests/test_math.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benjaminjack/python_cpp_example/HEAD/tests/test_math.cpp --------------------------------------------------------------------------------