Paul-Louis Ageneau 7188bc9d8d Minor compilation fixes 5 years ago
..
CMakeLists.txt ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 years ago
LICENSE 5ddafb3142 Example under GPLv2 5 years ago
README-getopt-for-windows.md 42e79ce921 Command line options for example server client: 5 years ago
getopt.cpp 7188bc9d8d Minor compilation fixes 5 years ago
getopt.h ac8e02604d Swap out ancient getopt for a newer one and address review feedback. 5 years ago
main.cpp 7188bc9d8d Minor compilation fixes 5 years ago
parse_cl.cpp 7188bc9d8d Minor compilation fixes 5 years ago
parse_cl.h 42e79ce921 Command line options for example server client: 5 years ago

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.