Advertisement
rasyaparsaoran

Console Miner-Miner Cpu

Nov 17th, 2017
589
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. OPENCL_PATH = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0"
  2. AMD_VERSION = 2.9-1
  3. AMD_SDK_PATH = "C:/Users/user/AMD APP SDK/$$AMD_VERSION"
  4. # /Directory settings
  5. QT += core network
  6. QT -= gui
  7. CONFIG += c++11
  8. TARGET = MinerConsole-Miner
  9. CONFIG += console
  10. CONFIG -= app_bundle
  11. TEMPLATE = app
  12. SOURCES += main.cpp \
  13. src/interfaces/IMiner.cpp \
  14. src/interfaces/IJob.cpp \
  15. src/interfaces/IJobDispatcher.cpp \
  16. src/logs/Logger.cpp \
  17. src/StratumParser.cpp \
  18. src/algo/Blake2b.cpp
  19. # The following define makes your compiler emit warnings if you use
  20. # any feature of Qt which as been marked deprecated (the exact warnings
  21. # depend on your compiler). Please consult the documentation of the
  22. # deprecated API in order to know how to port your code away from it.
  23. DEFINES += QT_DEPRECATED_WARNINGS
  24. # You can also make your code fail to compile if you use deprecated APIs.
  25. # In order to do so, uncomment the following line.
  26. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  27. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  28. HEADERS += \
  29. src/interfaces/IMiner.h \
  30. src/interfaces/IJob.h \
  31. src/interfaces/IJobDispatcher.h \
  32. src/logs/Logger.h \
  33. src/StratumParser.h \
  34. src/interfaces/ISingleton.h \
  35. src/algo/Blake2b.h
  36. INCLUDEPATH += $$PWD
  37. # CRYPTOPP Library
  38. #QMAKE_CXXFLAGS += -DNDEBUG -g2 -O3
  39. INCLUDEPATH += C:/cryptopp565
  40. #LIBS += -LC:/cryptopp565/release -lcryptopp
  41. LIBS += -lC:/cryptopp565/x64/DLL_Output/Release/cryptopp
  42. #CUDA SDK
  43. #CUDA_OBJECTS_DIR = release/cuda
  44. #CUDA_SDK = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0" # Path to cuda SDK install
  45. #SYSTEM_NAME = Win32 # Depending on your system either 'Win32', 'x64', or 'Win64'
  46. #SYSTEM_TYPE = 32 # '32' or '64', depending on your system
  47. #CUDA_ARCH = sm_11 # Type of CUDA architecture, for example 'compute_10', 'compute_11', 'sm_10'
  48. #NVCC_OPTIONS = --use_fast_math
  49. #QMAKE_LIBDIR += $$CUDA_SDK/lib/$$SYSTEM_NAME
  50. #LIBS += -L$$CUDA_SDK/lib/$$SYSTEM_NAME
  51. #INCLUDEPATH += $$CUDA_SDK/include
  52. #LIBS += -lOpenCL
  53. # The following library conflicts with something in Cuda
  54. #MSVCRT_LINK_FLAG_DEBUG = "/MDd"
  55. #MSVCRT_LINK_FLAG_RELEASE = "/MD"
  56. # OPENCL
  57. INCLUDEPATH += $$OPENCL_PATH/include
  58. LIBS += -L$$OPENCL_PATH/lib/x64/ -lOpenCL
  59. # AMD
  60. LIBS += -L$$AMD_SDK_PATH/lib/x86/ -lglew32 -lglut32
  61. INCLUDEPATH += $$AMD_SDK_PATH/include/SDKUtil
  62. OBJECTS_DIR = ../tmp/$$TARGET
  63. UI_DIR = ../tmp/$$TARGET
  64. MOC_DIR = ../tmp/$$TARGET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement