fix missing gitignore
[RRG-proxmark3.git] / client / deps / cliparser.cmake
blobfccae33b72467e6f9044fa90abec1ee8edb28f1e
1 add_library(pm3rrg_rdv4_cliparser STATIC
2         cliparser/argtable3.c
3         cliparser/cliparser.c
6 target_compile_definitions(pm3rrg_rdv4_cliparser PRIVATE _ISOC99_SOURCE)
7 target_include_directories(pm3rrg_rdv4_cliparser PRIVATE
8         ../../common
9         ../../include
10         ../src)
11 target_include_directories(pm3rrg_rdv4_cliparser INTERFACE cliparser)
12 target_compile_options(pm3rrg_rdv4_cliparser PRIVATE -Wall -Werror -O3)
13 set_property(TARGET pm3rrg_rdv4_cliparser PROPERTY POSITION_INDEPENDENT_CODE ON)