Skip to content

bakshtb/SwigCppToPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwigCppToPython

SwigCppToPython is a project that demonstrates how to use SWIG to generate Python bindings for a C++ library and provides a sample script for testing the generated module.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/bakshtb/SwigCppToPython.git
  2. Change to the project folder:

    cd SwigCppToPython
  3. Run the build script:

    Windows

    build_windows.bat

    Linux

    sudo bash ./build_linux.sh

Testing

After successfully building the project, you can test it:

The test script is located in the test folder.

Run the following commands:

  1. Change to the test folder:

    cd test
  2. Run the test script:

    Windows

    run_test_windows.bat

    Linux

    sudo bash ./run_test_linux.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published