mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 13:26:30 -05:00
11 lines
306 B
CMake
11 lines
306 B
CMake
|
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})
|