mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
Basic proof of concept for CPP binding using SIP but with our own type conversion (to avoid overhead of SIP lib/deploy). Its far from perfect but will serve as a starting point. .. needed to fixup type conversion in goldencheetah.sip to convert returning QString as PyUnicode .. needed to fixup passing context when multi-threaded .. needed to fixup Bindings.h/cpp to offer new API
17 lines
350 B
Makefile
17 lines
350 B
Makefile
#
|
|
# Run 'make' manually to regenerate the SRC files
|
|
# at some point later we will integrate into src.pro
|
|
#
|
|
|
|
SRC= sipgoldencheetahBindings.cpp sipgoldencheetahcmodule.cpp sipAPIgoldencheetah.h \
|
|
sipgoldencheetahQString.cpp sipgoldencheetahQStringRef.cpp
|
|
|
|
DEPS= goldencheetah.sip
|
|
|
|
$(SRC): $(DEPS)
|
|
sip -c . goldencheetah.sip
|
|
|
|
clean:
|
|
-rm $(SRC)
|
|
|