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

Commit 160f4c8

Browse files
committed
compile ImPlot into shared library and use it
1 parent 79ea01e commit 160f4c8

11 files changed

+59
-3687
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ cython_debug/
1818
implot/*.cpp
1919
implot/*.h
2020
implot/*.c
21+
shlib/*.o
2122

2223
# Distribution / packaging
2324
.Python

Makefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,17 @@ bootstrap: .bootstrapped ;
2323
.PHONY: clean
2424
clean:
2525
rm -rf implot/*.cpp implot/*.c implot/*.h implot/*.so build/*
26+
make -C shlib clean
27+
28+
29+
.PHONY: solib
30+
solib: bootstrap
31+
make -C shlib
32+
cp shlib/libimplot.so implot/
2633

2734

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

implot/ansifeed.pxd

-20
This file was deleted.

0 commit comments

Comments
 (0)