Improve the CMakeLists.txt file: use cmake to find git and retrieve machine info, check if we need to link against libm
Avoid including unnecessary headers
Avoid strcasecmp as it might not be portable
Avoid atof because it respects locales; the new solution now avoids changing environment variables
Avoid errors if compiler does not support __attributes__
Rename all precompiler macros and constants to uppercases
Make now work on Windows
Avoid variable length arrays (VLAs)
Avoid access to be more portable
Avoid usleep to be more portable
The frontend program caps now compiles on Windows using Visual Studio, but for some reason the program fails if the aspect ratio is too big (R/L > 10).
libm
strcasecmp
as it might not be portableatof
because it respects locales; the new solution now avoids changing environment variables__attributes__
now
work on Windowsaccess
to be more portableusleep
to be more portableThe frontend program
caps
now compiles on Windows using Visual Studio, but for some reason the program fails if the aspect ratio is too big (R/L > 10).