.cache/clangd/index/main.cpp.47C66B394CD74271.idx
.cache/clangd/index/main.cpp.47C66B394CD74271.idx
This is a binary file and will not be displayed.
+1
.envrc
+1
.envrc
···
+6
.gitignore
+6
.gitignore
+41
CMakeLists.txt
+41
CMakeLists.txt
···
+38
-1
README.md
+38
-1
README.md
···-You can download a pre-built binary from the releases or you can cross compile the app for windows xp; i'll add a nix way soonish+this project uses nix for cross-compilation to windows xp. the key was using an older nixpkgs (22.05) since newer mingw toolchains use windows apis that don't exist in xp.+this creates a `.clangd` file that points to the actual mingw-w64 headers and avoids gcc intrinsics that cause clang issues.
+77
flake.lock
+77
flake.lock
···
+141
flake.nix
+141
flake.nix
···+MINGW_MAIN_INCLUDE="/nix/store/hhbkp872dkayzd2qxfhkdc4rgn393g52-mingw-w64-i686-w64-mingw32-9.0.0-dev/include"+MINGW_MAIN_INCLUDE=$(i686-w64-mingw32-gcc -v -E - < /dev/null 2>&1 | sed -n '/mingw-w64.*-dev\/include/p' | head -1 | awk '{print $2}')+"command": "clang++ -target i686-w64-mingw32 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DWIN32_LEAN_AND_MEAN -D_WIN32 -DWIN32 -fno-builtin -isystem \"$MINGW_MAIN_INCLUDE\" -std=c++17 -c main.cpp",
+100
main.cpp
+100
main.cpp
···