proxmark3/client/deps/amiibo.cmake

18 lines
508 B
CMake
Raw Normal View History

2020-04-16 16:57:53 +08:00
# just for testing amiitool before complete migration into a lib:
#amiitool:
#gcc $(CFLAGS) \
#amiitool.c $(MYSRCS) ../../../../common/../../commonutil.c ../ui.c -lreadline -lm ../../../../common/mbedtls/libmbedtls.a \
#-o amiitool
set_property(SOURCE PROPERTY C_STANDARD 99)
2020-04-18 20:19:43 +08:00
add_library(amiibo STATIC
amiitool/amiibo.c
amiitool/drbg.c
amiitool/keygen.c
2020-04-16 16:57:53 +08:00
)
target_include_directories(amiibo PRIVATE ../../include ../../common)
target_include_directories(amiibo INTERFACE amiitool)