You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 line
964B

  1. TEMPLATE = app
  2. OBJECTS_DIR = $$_PRO_FILE_PWD_/tmp/
  3. MOC_DIR = $$_PRO_FILE_PWD_/tmp/
  4. # Qt modules to and not use
  5. QT += core widgets quick gui qml
  6. #QT -= gui
  7. # name of the executable
  8. TARGET = tonalisa
  9. # allow console output
  10. CONFIG += console
  11. CONFIG += c++11
  12. macx {
  13. CONFIG -= app_bundle
  14. }
  15. # sources to be built
  16. SOURCES += src/main.cpp \
  17. src/audiofile.cpp \
  18. src/peaks.cpp \
  19. src/dissonance.cpp \
  20. src/frequencyview.cpp \
  21. src/spiral.cpp \
  22. src/cartesian.cpp
  23. # src/osc.cpp
  24. HEADERS += src/audiofile.h \
  25. src/peaks.h \
  26. src/dissonance.h \
  27. src/frequencyview.h \
  28. src/spiral.h \
  29. src/cartesian.h
  30. # src/osc.h
  31. !exists(lib/sndlib/libsndlib.a){
  32. message( "building sndlib..." )
  33. #message($$_PRO_FILE_PWD_/lib/sndlib)
  34. system(cd $$_PRO_FILE_PWD_/lib/sndlib && ./configure && make)
  35. # system(./configure --disable-shared)
  36. # system(make)
  37. }
  38. INCLUDEPATH += lib/sndlib
  39. LIBS += -Llib/sndlib -lsndlib -lm -llo -ldl
  40. # QMAKE_CXXFLAGS += -g