This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
|
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}) |