mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-26 03:38:23 -05:00
10 lines
217 B
CMake
10 lines
217 B
CMake
|
add_library(getopt
|
||
|
getopt.c
|
||
|
getopt.h
|
||
|
)
|
||
|
|
||
|
create_target_directory_groups(getopt)
|
||
|
|
||
|
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
|
||
|
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|