1234567891011121314151617181920212223242526272829303132333435363738 |
- QT += core gui
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
- CONFIG += c++11
- DEFINES += QT_DEPRECATED_WARNINGS
- SOURCES += \
- main.cpp \
- miner.cpp \
- widget.cpp
- HEADERS += \
- configure.h \
- miner.h \
- widget.h \
- FORMS += \
- widget.ui
- QMAKE_CXXFLAGS += -O3
- RESOURCES += \
- resources.qrc
- LIBS += \
- -lsodium \
- -lpthread \
- win32 {
- LIBS += \
- -lws2_32
- RC_FILE += ../src/windows/resource.rc
- OTHER_FILES += ../src/windows/resource.rc
- }
|