CMake: reenable the broken tools in Windows.
Add some more exports to bitutils to make compilation succeed. (Thanks to Fkooman)
This commit is contained in:
parent
67aa84ad76
commit
b73d9f03fa
2 changed files with 5 additions and 10 deletions
|
@ -1,10 +1,5 @@
|
|||
SET(LIBRARY-SOURCES libnfc dev_pn531 dev_pn533 rs232 bitutils dev_arygon)
|
||||
SET(TOOLS-SOURCES list mftool mfultool initiator target)
|
||||
|
||||
# disabled for now on Windows, due to lacking getopt
|
||||
IF(NOT MSVC)
|
||||
SET(TOOLS-SOURCES ${TOOLS-SOURCES} anticol emulate relay)
|
||||
ENDIF(NOT MSVC)
|
||||
SET(TOOLS-SOURCES list mftool mfultool initiator target anticol emulate relay)
|
||||
|
||||
IF(LIBNFC_PCSC)
|
||||
ADD_DEFINITIONS("-DHAVE_PCSC_LITE=1")
|
||||
|
|
|
@ -34,13 +34,13 @@ uint64_t mirror64(uint64_t ui64Bits);
|
|||
void mirror_byte_ts(byte_t *pbts, uint32_t uiLen);
|
||||
|
||||
LIBNFC_EXPORT uint32_t swap_endian32(const void* pui32);
|
||||
uint64_t swap_endian64(const void* pui64);
|
||||
LIBNFC_EXPORT uint64_t swap_endian64(const void* pui64);
|
||||
|
||||
void append_iso14443a_crc(byte_t* pbtData, uint32_t uiLen);
|
||||
LIBNFC_EXPORT void append_iso14443a_crc(byte_t* pbtData, uint32_t uiLen);
|
||||
|
||||
LIBNFC_EXPORT void print_hex(const byte_t* pbtData, const uint32_t uiLen);
|
||||
void print_hex_bits(const byte_t* pbtData, const uint32_t uiBits);
|
||||
void print_hex_par(const byte_t* pbtData, const uint32_t uiBits, const byte_t* pbtDataPar);
|
||||
LIBNFC_EXPORT void print_hex_bits(const byte_t* pbtData, const uint32_t uiBits);
|
||||
LIBNFC_EXPORT void print_hex_par(const byte_t* pbtData, const uint32_t uiBits, const byte_t* pbtDataPar);
|
||||
|
||||
#endif // _LIBNFC_BITUTILS_H_
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue