Skip to content

Commit

Permalink
do not build glabsensors on windows, always compile LSL stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Feb 28, 2025
1 parent 386acff commit 9adfda0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
11 changes: 6 additions & 5 deletions check_for_lsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
if test `uname -s` = Darwin; then
LDFLAGS=-L/opt/homebrew/lib
fi
echo 'int main(int,char**){return 0;}'|g++ ${LDFLAGS} -llsl -x c++ - 2>/dev/null && echo yes||echo no
rm -f a.out
echo yes
#if test `uname -s` = Darwin; then
# LDFLAGS=-L/opt/homebrew/lib
#fi
#echo 'int main(int,char**){return 0;}'|g++ ${LDFLAGS} -llsl -x c++ - 2>/dev/null && echo yes||echo no
#rm -f a.out
7 changes: 6 additions & 1 deletion plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,14 @@ ifeq "$(HAS_LSL)" "yes"
CXXFLAGS += -DHAS_LSL
TASCARMODS += lsljacktime lslactor levels2osc pos2lsl osc2lsl
AUDIOPLUGINS += speechactivity periodogram
TASCARMODSGUI += glabsensors waitforlslstream lsl2osc
TASCARMODSGUI += waitforlslstream lsl2osc

ifneq ($(OS),Windows_NT)
# on Windows do not compile glabsensors:
TASCARMODSGUI += glabsensors
GLABSENSORS += smiley emergency espheadtracker \
qualisys jackstatus
endif

ifeq ($(UNAME_S),Linux)
GLABSENSORS += midicc serial oscthreshold eog
Expand Down

0 comments on commit 9adfda0

Please sign in to comment.