mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Add cmake support
This commit is contained in:
parent
edb96e75cf
commit
6b1a8b8390
11 changed files with 908 additions and 0 deletions
28
client/deps/amiibo.cmake
Normal file
28
client/deps/amiibo.cmake
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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)
|
||||
add_definitions(-D_ISOC99_SOURCE)
|
||||
include_directories(jansson)
|
||||
include_directories(../../common)
|
||||
include_directories(../../common/include)
|
||||
include_directories(amiitool)
|
||||
|
||||
add_library(amiibo
|
||||
jansson/dump.c
|
||||
jansson/error.c
|
||||
jansson/hashtable.c
|
||||
jansson/hashtable_seed.c
|
||||
jansson/load.c
|
||||
jansson/memory.c
|
||||
jansson/pack_unpack.c
|
||||
jansson/strbuffer.c
|
||||
jansson/strconv.c
|
||||
jansson/utf.c
|
||||
jansson/path.c
|
||||
jansson/value.c
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue