2020-05-06 20:45:02 +08:00
|
|
|
add_library(pm3rrg_rdv4_cliparser STATIC
|
2020-04-19 18:14:56 +08:00
|
|
|
cliparser/argtable3.c
|
|
|
|
cliparser/cliparser.c
|
|
|
|
)
|
|
|
|
|
2020-05-06 20:45:02 +08:00
|
|
|
target_include_directories(pm3rrg_rdv4_cliparser PRIVATE
|
2020-04-19 18:14:56 +08:00
|
|
|
../../common
|
|
|
|
../../include
|
|
|
|
../src)
|
2020-05-06 20:45:02 +08:00
|
|
|
target_include_directories(pm3rrg_rdv4_cliparser INTERFACE cliparser)
|
2020-05-22 03:55:15 +08:00
|
|
|
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)
|