Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
compile ImPlot into shared library and use it
Browse files Browse the repository at this point in the history
  • Loading branch information
hinxx committed Mar 25, 2021
1 parent 79ea01e commit 160f4c8
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 3,687 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cython_debug/
implot/*.cpp
implot/*.h
implot/*.c
shlib/*.o

# Distribution / packaging
.Python
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,17 @@ bootstrap: .bootstrapped ;
.PHONY: clean
clean:
rm -rf implot/*.cpp implot/*.c implot/*.h implot/*.so build/*
make -C shlib clean


.PHONY: solib
solib: bootstrap
make -C shlib
cp shlib/libimplot.so implot/


.PHONY: build
build: bootstrap
build: bootstrap solib
_CYTHONIZE_WITH_COVERAGE=1 python -m pip install -e . -v
# python ci/completion.py -o README.md with-pxd implot/cimplot.pxd

Expand Down
20 changes: 0 additions & 20 deletions implot/ansifeed.pxd

This file was deleted.

Loading

0 comments on commit 160f4c8

Please sign in to comment.