Add getopt supporting unicode

Fixes #1191
This commit is contained in:
Jonas Kvinge
2023-04-30 02:06:27 +02:00
parent b01f3f4bb5
commit 1d3223e9c6
9 changed files with 1068 additions and 746 deletions

View File

@@ -1,2 +1,3 @@
add_library(getopt STATIC getopt.c)
add_library(getopt STATIC getopt.cpp)
target_compile_definitions(getopt PRIVATE -DSTATIC_GETOPT -D_UNICODE)
target_include_directories(getopt PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})