Build "src/base" as static library.
This commit is contained in:
parent
e1f0737a59
commit
cac1e4aa5e
181 changed files with 874 additions and 591 deletions
|
@ -1,11 +1,6 @@
|
|||
if (WITH_HTTP)
|
||||
add_definitions(/DXMRIG_FEATURE_DMI)
|
||||
add_definitions(-DXMRIG_FEATURE_DMI)
|
||||
|
||||
list(APPEND HEADERS
|
||||
src/hw/api/HwApi.h
|
||||
)
|
||||
|
||||
list(APPEND SOURCES
|
||||
src/hw/api/HwApi.cpp
|
||||
)
|
||||
list(APPEND HEADERS src/hw/api/HwApi.h)
|
||||
list(APPEND SOURCES src/hw/api/HwApi.cpp)
|
||||
endif()
|
||||
|
|
|
@ -5,7 +5,7 @@ else()
|
|||
endif()
|
||||
|
||||
if (WITH_DMI)
|
||||
add_definitions(/DXMRIG_FEATURE_DMI)
|
||||
add_definitions(-DXMRIG_FEATURE_DMI)
|
||||
|
||||
list(APPEND HEADERS
|
||||
src/hw/dmi/DmiBoard.h
|
||||
|
@ -28,6 +28,6 @@ if (WITH_DMI)
|
|||
elseif(XMRIG_OS_MACOS)
|
||||
list(APPEND SOURCES src/hw/dmi/DmiReader_mac.cpp)
|
||||
endif()
|
||||
else()
|
||||
remove_definitions(/DXMRIG_FEATURE_DMI)
|
||||
endif()
|
||||
|
||||
message(STATUS "WITH_DMI\t= ${WITH_DMI}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue