Implement new argument parsing using getopt and add the corresponding library to externals
This commit is contained in:
parent
f4e1d8ea36
commit
9930ef72dd
6 changed files with 1156 additions and 3 deletions
11
externals/getopt/CMakeLists.txt
vendored
Normal file
11
externals/getopt/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
set(SRCS
|
||||
getopt.c
|
||||
)
|
||||
set(HEADERS
|
||||
getopt.h
|
||||
)
|
||||
|
||||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
add_library(getopt ${SRCS} ${HEADERS})
|
||||
target_compile_definitions(getopt INTERFACE STATIC_GETOPT)
|
||||
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
Loading…
Add table
Add a link
Reference in a new issue