mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-12 02:09:28 +00:00
* Add its own CMakeLists.txt * Add id48 unit tests for its recovery API * Add id48 unit tests for its generator API * Add id48 espresso files, generator for those files, and validation test * Proxmark3-specific: * update client/Makefile * update client/deps/id48lib.cmake *
12 lines
643 B
CMake
12 lines
643 B
CMake
# This is manually re-creating the contents of id48/src/CMakeLists.txt
|
|
# and thus must be manually kept in sync with updates to id48/src.
|
|
add_library(pm3rrg_rdv4_id48 STATIC
|
|
id48/src/id48_data.c
|
|
id48/src/id48_generator.c
|
|
id48/src/id48_recover.c
|
|
)
|
|
target_compile_options( pm3rrg_rdv4_id48 PRIVATE -Wpedantic -Wall -Werror -O3 -Wno-unknown-pragmas -Wno-inline -Wno-unused-function -DID48_NO_STDIO)
|
|
target_include_directories(pm3rrg_rdv4_id48 PRIVATE id48/public)
|
|
target_include_directories(pm3rrg_rdv4_id48 INTERFACE id48/public)
|
|
set_property(TARGET pm3rrg_rdv4_id48 PROPERTY POSITION_INDEPENDENT_CODE ON)
|