Skip to content

Commit

Permalink
build - fix mac build wrt new kiss_fft dependency
Browse files Browse the repository at this point in the history
Add source and header to pro file and symlink tree to root
  • Loading branch information
samaaron committed Feb 4, 2020
1 parent 4ff853e commit df16b7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/gui/qt/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/kiss_fft
6 changes: 4 additions & 2 deletions app/gui/qt/SonicPi.pro
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ SOURCES += main.cpp \
widgets/sonicpilexer.cpp \
widgets/settingswidget.cpp \
model/sonicpitheme.cpp \
visualizer/scope.cpp
visualizer/scope.cpp \
external/kiss_fft/kiss_fft.c

HEADERS += mainwindow.h \
widgets/sonicpilog.h \
Expand All @@ -89,7 +90,8 @@ HEADERS += mainwindow.h \
osc/sonic_pi_tcp_osc_server.h \
model/sonicpitheme.h \
model/settings.h \
visualizer/scope.h
visualizer/scope.h \
external/kiss_fft/kiss_fft.h

TRANSLATIONS = lang/sonic-pi_bg.ts \
lang/sonic-pi_bs.ts \
Expand Down
3 changes: 3 additions & 0 deletions app/gui/qt/mac-build-app
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ cp -f utils/ruby_help.tmpl utils/ruby_help.h
# Generate i18n files
"$LREL" SonicPi.pro

# ensure kiss_fft is visible to the source
ln -s external/kiss_fft kiss_fft

# Build App
"$QMAKE" -o Makefile SonicPi.pro
make
Expand Down

0 comments on commit df16b7c

Please sign in to comment.