2015-06-23 06:29:00 +05:30
|
|
|
set(SRCS
|
|
|
|
getopt.c
|
|
|
|
)
|
|
|
|
set(HEADERS
|
|
|
|
getopt.h
|
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
add_library(getopt ${SRCS} ${HEADERS})
|
2015-07-14 04:16:11 +05:30
|
|
|
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
|
|
|
|
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|