Implemented "asm" option.

This commit is contained in:
XMRig 2018-09-24 14:19:26 +03:00
parent ba65a34a01
commit c2fcf23855
14 changed files with 275 additions and 34 deletions

View file

@ -15,8 +15,10 @@ if (WITH_ASM AND NOT XMRIG_ARM)
)
endif()
set(XMRIG_ASM_SOURCES src/crypto/Asm.h src/crypto/Asm.cpp)
set_property(TARGET ${XMRIG_ASM_LIBRARY} PROPERTY LINKER_LANGUAGE C)
else()
set(XMRIG_ASM_SOURCES "")
set(XMRIG_ASM_LIBRARY "")
add_definitions(/DXMRIG_NO_ASM)
endif()