windows-libc
is a modular and (mostly)POSIX compliant C library for Windows (10, 11) designed to work alongside msvcrt
.
cmake -DENABLE_<MOUDLE_NAME>=ON ..
find_package(WLIBC)
...
target_link_libraries(your-target WLIBC::WLIBC)
See MODULES.md for more information regarding the available modules.
- CMake
- Enable Developer mode on Windows 10 (for symlinks to work)
- MSVC or Clang compiler (MinGW is not supported)
- (Optional) Add privilege for increase scheduling priority (SE_INC_BASE_PRIORITY_NAME)
If you find a bug please raise an issue here -> https://github.com/SibiSiddharthan/windows-libc/issues.