123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- #-------------------------------------------------
- #
- # Project created by QtCreator 2019-05-03T18:16:23
- #
- #-------------------------------------------------
- QT += core gui opengl xml
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
- TARGET = Almond
- TEMPLATE = app
- RC_ICONS = almond.ico
- # The following define makes your compiler emit warnings if you use
- # any feature of Qt which has been marked as deprecated (the exact warnings
- # depend on your compiler). Please consult the documentation of the
- # deprecated API in order to know how to port your code away from it.
- DEFINES += QT_DEPRECATED_WARNINGS
- # You can also make your code fail to compile if you use deprecated APIs.
- # In order to do so, uncomment the following line.
- # You can also select to disable deprecated APIs only up to a certain version of Qt.
- #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
- CONFIG += c++17
- @CONFIG += debug_and_release@
- QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12
- SOURCES += \
- src/About.cpp \
- src/Almond.cpp \
- src/AlmondMenuWidget.cpp \
- src/BackgroundTask.cpp \
- src/EscapeTimeVisualWidget.cpp \
- src/ExportImageMenu.cpp \
- src/ExportVideoMenu.cpp \
- src/FractalWidget.cpp \
- src/FractalWidgetUtils.cpp \
- src/FractalZoomWidget.cpp \
- src/GradientMenu.cpp \
- src/GradientWidget.cpp \
- src/choosegenerators.cpp \
- src/customgenerator.cpp \
- src/GridFlowLayout.cpp \
- src/main.cpp
- HEADERS += \
- include/About.h \
- include/Almond.h \
- include/AlmondMenuWidget.h \
- include/BackgroundTask.h \
- include/EscapeTimeVisualWidget.h \
- include/ExportImageMenu.h \
- include/ExportVideoMenu.h \
- include/FractalWidget.h \
- include/FractalWidgetUtils.h \
- include/FractalZoomWidget.h \
- include/GradientMenu.h \
- include/GradientWidget.h \
- include/choosegenerators.h \
- include/customgenerator.h \
- include/GridFlowLayout.h
- FORMS += \
- ui/About.ui \
- ui/Almond.ui \
- ui/ExportImageMenu.ui \
- ui/ExportVideoMenu.ui \
- ui/GradientMenu.ui \
- ui/choosegenerators.ui \
- ui/customgenerator.ui
- INCLUDEPATH += include
- # Default rules for deployment.
- qnx: target.path = /tmp/$${TARGET}/bin
- else: unix:!android: target.path = /opt/$${TARGET}/bin
- !isEmpty(target.path): INSTALLS += target
- win32:QMAKE_CXXFLAGS += -openmp
- else:unix:QMAKE_CXXFLAGS += -fopenmp
- win32:QMAKE_LFLAGS += -openmp
- else:unix:QMAKE_LFLAGS+= -fopenmp
- LIBS += -fopenmp
- unix:LIBS += -lm -latomic
- win32:CONFIG(release, debug|profile|release): LIBS += -L$$PWD/../libs/ffmpeg-20200216-8578433-win64-dev/lib/ -lavcodec
- else:win32:CONFIG(debug, debug|profile|release): LIBS += -L$$PWD/../libs/ffmpeg-20200216-8578433-win64-dev/lib/ -lavcodec
- else:unix: LIBS += -lavcodec
- win32:FFMPEGPATH = $$PWD/../libs/ffmpeg-20200216-8578433-win64-dev/lib/
- win32:INCLUDEPATH += $$PWD/../libs/ffmpeg-20200216-8578433-win64-dev/include
- win32:DEPENDPATH += $$PWD/../libs/ffmpeg-20200216-8578433-win64-dev/include
- win32:INCLUDEPATH += ../libs/boost_1_72_0
- DEFINES += WITH_BOOST=1
- win32:LIBS += -L$$PWD/../libs/libjpeg-turbo-2.0.4/libjpeg-turbo-2.0.4/build/Release
- win32:INCLUDEPATH += $$PWD/../libs/libjpeg-turbo-2.0.4/libjpeg-turbo-2.0.4
- #win32:CONFIG(release, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/lib/x86/' -lOpenCL
- #else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/lib/x86/' -lOpenCL
- #else:unix: LIBS += -lOpenCL
- win32:INCLUDEPATH += $$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/include'
- win32:DEPENDPATH += $$PWD/'../../../../../Program Files (x86)/AMD APP SDK/3.0/include'
- win32:CONFIG(release, debug|release): LIBS += -L$FFMPEGPATH -lavformat
- else:win32:CONFIG(debug, debug|release): LIBS += -L$FFMPEGPATH -lavformat
- else:unix: LIBS += -L$FFMPEGPATH -lavformat
- #INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- #DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- unix|win32: LIBS += -L$FFMPEGPATH -lavdevice
- #INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- #DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- unix|win32: LIBS += -L$FFMPEGPATH -lavfilter
- #INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- #DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- unix|win32: LIBS += -L$FFMPEGPATH -lavutil
- #INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- #DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- unix|win32: LIBS += -L$FFMPEGPATH -lswscale
- #INCLUDEPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- #DEPENDPATH += $$PWD/../libs/ffmpeg-4.1.1-win32-dev/include
- RESOURCES += \
- resources/Almond.qrc \
- resources/splash.qrc
- win32:LIBS += -llibpng16_static -lzlibstatic -ljpeg
- unix|win32: LIBS += -L$$PWD/libmandel/ -L$$PWD/libalmond/ -lmandel -lqd -lasmjit -lalmond
- unix: LIBS += -lrt -lpng -ljpeg -lavcodec -lavdevice -lavformat -lavutil -lswscale -lavfilter
- INCLUDEPATH += $$PWD/libmandel/include $$PWD/libmandel/qd-2.3.22/include $$PWD/libalmond/include
- DEPENDPATH += $$PWD/libmandel/include $$PWD/libmandel/qd-2.3.22/include $$PWD/libalmond/include
- INCLUDEPATH += $$PWD/libmandel/include $$PWD/libmandel/asmjit/src $$PWD/libalmond/include
- DEPENDPATH += $$PWD/libmandel/include $$PWD/libmandel/asmjit/stc $$PWD/libalmond/include
- win32:!win32-g++: PRE_TARGETDEPS += $$PWD/libmandel/asmjit.lib $$PWD/libmandel/mandel.lib $$PWD/libmandel/qd.lib $$PWD/libalmond/almond.lib
- else:unix|win32-g++: PRE_TARGETDEPS += $$PWD/libmandel/libmandel.a $$PWD/libmandel/libqd.a $$PWD/libmandel/libasmjit.a $$PWD/libalmond/libalmond.a
- win32:CONFIG(release, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86_64/' -lopencl
- else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86_64/' -lopencl
- else:unix: LIBS += -lOpenCL
- win32:INCLUDEPATH += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/include'
- win32:DEPENDPATH += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/include'
- macx:INCLUDEPATH += /usr/local/Cellar/ffmpeg/4.2.2_2/include/
- macx:INCLUDEPATH += /usr/local/Cellar/boost/1.72.0_1/include/
- win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86_64/libopencl.a'
- else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86_64/libopencl.a'
- else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86_64/opencl.lib'
- else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/'../../../../../Program Files (x86)/OCL_SDK_Light/lib/x86_64/opencl.lib'
|