ecotarobles ac8e02604d Swap out ancient getopt for a newer one and address review feedback. há 5 anos atrás
..
CMakeLists.txt ac8e02604d Swap out ancient getopt for a newer one and address review feedback. há 5 anos atrás
LICENSE 5ddafb3142 Example under GPLv2 há 5 anos atrás
README-getopt-for-windows.md 42e79ce921 Command line options for example server client: há 5 anos atrás
getopt.cpp ac8e02604d Swap out ancient getopt for a newer one and address review feedback. há 5 anos atrás
getopt.h ac8e02604d Swap out ancient getopt for a newer one and address review feedback. há 5 anos atrás
main.cpp ac8e02604d Swap out ancient getopt for a newer one and address review feedback. há 5 anos atrás
parse_cl.cpp ac8e02604d Swap out ancient getopt for a newer one and address review feedback. há 5 anos atrás
parse_cl.h 42e79ce921 Command line options for example server client: há 5 anos atrás

README-getopt-for-windows.md

getopt-for-windows

getopt.h and getopt.c is very often used in linux, to make it easy for windows user, two files were extracted from glibc. In order to make it works properly in windows, some modification was done and you may compare the change using original source files. Enjoy it!

Source: https://github.com/Chunde/getopt-for-windows. IMPORTANT: getopt.[ch] are likely not safe for Linux due to conflict with existing getopt.[ch]. They are thus NOT in CMakeFiles.txt and instead both files are #include only on Windows.