2015-06-22 20:59:00 -04:00
|
|
|
set(SRCS
|
|
|
|
getopt.c
|
|
|
|
)
|
|
|
|
set(HEADERS
|
|
|
|
getopt.h
|
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
add_library(getopt ${SRCS} ${HEADERS})
|
2015-07-13 18:46:11 -04:00
|
|
|
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
|
|
|
|
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|