mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-12 04:04:42 +08:00
13 lines
516 B
CMake
13 lines
516 B
CMake
add_library(pm3rrg_rdv4_cliparser STATIC
|
|
cliparser/argtable3.c
|
|
cliparser/cliparser.c
|
|
)
|
|
|
|
target_compile_definitions(pm3rrg_rdv4_cliparser PRIVATE _ISOC99_SOURCE)
|
|
target_include_directories(pm3rrg_rdv4_cliparser PRIVATE
|
|
../../common
|
|
../../include
|
|
../src)
|
|
target_include_directories(pm3rrg_rdv4_cliparser INTERFACE cliparser)
|
|
target_compile_options(pm3rrg_rdv4_cliparser PRIVATE -Wall -Werror -O3)
|
|
set_property(TARGET pm3rrg_rdv4_cliparser PROPERTY POSITION_INDEPENDENT_CODE ON)
|