mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-11-01 04:37:52 +00:00
ab021d163e
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
9 lines
217 B
CMake
9 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})
|