1
0
Fork 0

Ex10: Successfull pyBind11

This commit is contained in:
Eric-Teunis de Boone 2020-07-09 22:52:04 +02:00
parent c5f7489717
commit c6e48cf47c
4 changed files with 48 additions and 5 deletions

8
ex10/makefile Normal file
View file

@ -0,0 +1,8 @@
main:
g++ -pthread ThreadPool.cc main.cpp
threadpool:
g++ -pthread -D ENABLE_PYBIND=1 -O3 -Wall -shared -std=c++11 -fPIC `python3 -m pybind11 --includes` ThreadPool.cc -o ThreadPool`python3-config --extension-suffix`
clean:
rm -rf *.so __pycache__