Almond.pro 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2019-05-03T18:16:23
  4. #
  5. #-------------------------------------------------
  6. QT += core gui opengl
  7. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  8. TARGET = Almond
  9. TEMPLATE = app
  10. # The following define makes your compiler emit warnings if you use
  11. # any feature of Qt which has been marked as deprecated (the exact warnings
  12. # depend on your compiler). Please consult the documentation of the
  13. # deprecated API in order to know how to port your code away from it.
  14. DEFINES += QT_DEPRECATED_WARNINGS
  15. # You can also make your code fail to compile if you use deprecated APIs.
  16. # In order to do so, uncomment the following line.
  17. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  18. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  19. CONFIG += c++17
  20. @CONFIG += debug_and_release@
  21. SOURCES += \
  22. Almond.cpp \
  23. Bitmap.cpp \
  24. MandelWidget.cpp \
  25. SectionManager.cpp \
  26. VideoStream.cpp \
  27. benchmarkdialog.cpp \
  28. main.cpp
  29. HEADERS += \
  30. Almond.h \
  31. Bitmap.h \
  32. Color.h \
  33. Fixed.h \
  34. MandelWidget.h \
  35. SectionManager.h \
  36. VideoStream.h \
  37. benchmarkdialog.h
  38. FORMS += \
  39. Almond.ui \
  40. benchmarks.ui \
  41. exportimagedialog.ui
  42. # Default rules for deployment.
  43. qnx: target.path = /tmp/$${TARGET}/bin
  44. else: unix:!android: target.path = /opt/$${TARGET}/bin
  45. !isEmpty(target.path): INSTALLS += target
  46. win32:LIBS += -lopengl32
  47. else:LIBS += -lOpenGL
  48. #win32:QMAKE_CXXFLAGS+= -openmp
  49. #else:unix:QMAKE_CXXFLAGS+= -fopenmp
  50. #win32:QMAKE_LFLAGS += -openmp
  51. #else:unix:QMAKE_LFLAGS+= -fopenmp
  52. #LIBS += -fopenmp
  53. unix:LIBS += -lm -latomic
  54. win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavcodec
  55. else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavcodec
  56. else:unix: LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavcodec
  57. INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  58. DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  59. #win32:CONFIG(release, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/lib/x86/' -lOpenCL
  60. #else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/lib/x86/' -lOpenCL
  61. #else:unix: LIBS += -lOpenCL
  62. #win32:INCLUDEPATH += $$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/include'
  63. #win32:DEPENDPATH += $$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/include'
  64. win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavformat
  65. else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavformat
  66. else:unix: LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavformat
  67. INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  68. DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  69. unix|win32: LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavdevice
  70. INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  71. DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  72. unix|win32: LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavfilter
  73. INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  74. DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  75. unix|win32: LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lavutil
  76. INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  77. DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  78. unix|win32: LIBS += -L$$PWD/../libs/ffmpeg-4.1.1-win32-dev/lib/ -lswscale
  79. INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  80. DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
  81. RESOURCES += \
  82. Almond.qrc
  83. unix|win32: LIBS += -L$$PWD/libmandel/ -lmandel
  84. INCLUDEPATH += $$PWD/libmandel/include
  85. DEPENDPATH += $$PWD/libmandel/include
  86. win32:!win32-g++: PRE_TARGETDEPS += $$PWD/libmandel/mandel.lib
  87. else:unix|win32-g++: PRE_TARGETDEPS += $$PWD/libmandel/libmandel.a
  88. win32:CONFIG(release, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86/' -lopencl
  89. else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86/' -lopencl
  90. else:unix: LIBS += -L$$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86/' -lopencl
  91. INCLUDEPATH += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/include'
  92. DEPENDPATH += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/include'
  93. win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86/libopencl.a'
  94. else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86/libopencl.a'
  95. else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86/opencl.lib'
  96. else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86/opencl.lib'