make/cmake cliparser lib and remove redundant getopt from reveng
This commit is contained in:
11
client/deps/cliparser.cmake
Normal file
11
client/deps/cliparser.cmake
Normal file
@@ -0,0 +1,11 @@
|
||||
add_library(cliparser STATIC
|
||||
cliparser/argtable3.c
|
||||
cliparser/cliparser.c
|
||||
)
|
||||
|
||||
target_include_directories(cliparser PRIVATE
|
||||
../../common
|
||||
../../include
|
||||
../src)
|
||||
target_include_directories(cliparser INTERFACE cliparser)
|
||||
target_compile_options(cliparser PRIVATE -Wall -Werror -O3)
|
||||
Reference in New Issue
Block a user