https://github.com/xaliphostes/cpp-py
Course on C++ and Python binding
https://github.com/xaliphostes/cpp-py
Last synced: 2 months ago
JSON representation
Course on C++ and Python binding
- Host: GitHub
- URL: https://github.com/xaliphostes/cpp-py
- Owner: xaliphostes
- Created: 2024-07-02T14:38:33.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T12:54:41.000Z (6 months ago)
- Last Synced: 2025-02-03T14:40:26.045Z (4 months ago)
- Language: C++
- Size: 586 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Initiation to C++ and python binding
![]()
Display of Szz around a point source## Compilation and testing
### 1) C++
Read the [**README**](./cpp/README.md) file in the `cpp` folder
### 2) Python binding
Read the [**README**](./py/README.md) file in the `py` folder
### 3) Other useful info
- [Packaging](https://pybind11.readthedocs.io/en/stable/compiling.html#modules-with-cmake) with CMake
## To look at the dependencies of libs and bins
Go the bin directory**Macos**
```sh
otool -L pyalgo.so # or app
```**Linux**
```sh
ldd pyalgo.so # or app
```**Win**
```sh
dumpbin /dependents pyalgo.dll # or app.exe
```