diff --git a/README-WINDOWS.md b/README-WINDOWS.md index b5d88a6c4..1279037d0 100644 --- a/README-WINDOWS.md +++ b/README-WINDOWS.md @@ -12,6 +12,7 @@ and Visual Studio. Compilation steps: * run: premake4 vs2010 * open vs-premake/ag.sln in Visual Studio 2010 or later, proceed as usual + * the binaries end up as rel/ag.exe or dbg/ag.exe (release/debug builds) How this port was made. ----------------------- diff --git a/todo-windows.txt b/todo-windows.txt new file mode 100755 index 000000000..9e1bdcfc7 --- /dev/null +++ b/todo-windows.txt @@ -0,0 +1,15 @@ +Things that could be done for windows port: + +1. in options.c: +gitconfig_file = popen("git config -z --get core.excludesfile", "r"); +(and other uses of popen). + +If git is not installed, the following message ends up in stderr: + +"'git' is not recognized as an internal or external command, operable program or batch file." + +This is because popen() really does "cmd.exe /c git config ..." and executes +it via CreateProcess() and, I'm guessing, cmd.exe is the one printing this +message to stderr. + +I could re-implement popen() in a way that doesn't add "cmd.exe"