proxmark3/client/deps/cliparser.cmake

14 lines
508 B
CMake
Raw Normal View History

2020-05-06 20:45:02 +08:00
add_library(pm3rrg_rdv4_cliparser STATIC
cliparser/argtable3.c
cliparser/cliparser.c
)
2020-10-21 16:02:32 +08:00
target_compile_definitions(pm3rrg_rdv4_cliparser PRIVATE _ISOC99_SOURCE)
2020-05-06 20:45:02 +08:00
target_include_directories(pm3rrg_rdv4_cliparser PRIVATE
../../common
../../include
../src)
2020-05-06 20:45:02 +08:00
target_include_directories(pm3rrg_rdv4_cliparser INTERFACE cliparser)
2024-09-10 21:40:28 +08:00
target_compile_options(pm3rrg_rdv4_cliparser PRIVATE -Wall -O3)
2020-05-06 20:45:02 +08:00
set_property(TARGET pm3rrg_rdv4_cliparser PROPERTY POSITION_INDEPENDENT_CODE ON)