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-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
|
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)
|
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)
|