Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 468 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 468 Bytes

PythonCppExtension

Build

To configure the build, CMake is required

Using Python

python3 setup.py build

Invoke CMake manually

cmake -B build
cmake --build build

Debugging

GDB

Start a GDB session

./gdb.sh

C++ application

Alternatively, debug the application pydbg.cpp which embeds the Python interpreter and imports the module.

Python

Start an interactive Python session:

./init.sh