mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Wahoo Fitness API Framework
gcconfig.pri.in and src.pro updates to add WFConnector framework for BTLE and Kickr APIs on Mac only.
This commit is contained in:
@@ -207,6 +207,9 @@ macx {
|
||||
|
||||
# Uncomment this line if you have SDK 10.7 or higher
|
||||
#DEFINES += GC_HAVE_LION
|
||||
|
||||
# Uncomment this line if you have the Mac OSX Wahoo API installed (Kickr)
|
||||
#HAVE_WFAPI = true
|
||||
}
|
||||
|
||||
#if you want a 'robot' to test realtime code without having
|
||||
|
||||
@@ -153,6 +153,12 @@ macx {
|
||||
|
||||
SOURCES += GcScopeBar.cpp
|
||||
|
||||
# on a mac we may install the Wahoo API for BTLE/Kickr support
|
||||
!isEmpty(HAVE_WFAPI) {
|
||||
DEFINES += GC_HAVE_WFAPI
|
||||
LIBS += -framework WFConnector
|
||||
}
|
||||
|
||||
} else {
|
||||
# not a mac? then F12 to toggle full screen using
|
||||
# standard QT showFullScreen / showNormal
|
||||
|
||||
Reference in New Issue
Block a user