加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
colorization_test.pro 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
guguhugu 提交于 2023-11-21 16:47 . 修改
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
TARGET = Denoise
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
QMAKE_CFLAGS_DEBUG -= /MT
QMAKE_CFLAGS_DEBUG += /MD
QMAKE_CXXFLAGS_DEBUG -= /MT
QMAKE_CXXFLAGS_DEBUG += /MD
QMAKE_CFLAGS_RELEASE -= /MT
QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_RELEASE -= /MT
QMAKE_CXXFLAGS_RELEASE += /MD
SOURCES += \
MyDenoiser.cpp \
common/common.cpp \
common/half.cpp \
common/oidn_utils.cpp \
common/platform.cpp \
main.cpp \
colorization_test.cpp \
utils/image_buffer.cpp \
utils/image_io.cpp
HEADERS += \
MyDenoiser.hpp \
colorization_test.h \
common/common.h \
common/half.h \
common/oidn_utils.h \
common/platform.h \
common/timer.h \
utils/device_info.h \
utils/image_buffer.h \
utils/image_io.h \
utils/random.h
FORMS += \
colorization_test.ui
INCLUDEPATH += $$PWD/3rd \
$$PWD/3rd/include
LIBS += -L$$PWD/3rd/lib/OpenImageDenoise/lib
LIBS += -lOpenImageDenoise \
-lOpenImageDenoise_core \
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化