proxmark3/client/deps/cliparser.cmake

13 lines
443 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-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)
target_compile_options(pm3rrg_rdv4_cliparser PRIVATE -Wall -Werror -O3)
2020-05-06 20:45:02 +08:00
set_property(TARGET pm3rrg_rdv4_cliparser PROPERTY POSITION_INDEPENDENT_CODE ON)