OK, after checking, it STILL didnt work. But I got the regular installation to work (mostly because, getting the nightly, I was no longer afraid of messing things up).
Here is what I've done to make it work, and I hope I'll help someone with this.
Prerequisites:
Microsoft SDKs for Windows (in my case v7.0A)
Visual Studio C++ Express
Code::Blocks (worked with 10.05, idk about other versions)
Steps to compilation:
1. Create a new compiler in the Settings->Compiler and Debugger
2. Setup in Setup->Compiler and Debugger
-Toolchain Executables:
-Compiler Installation Directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC (standard in Visual Studio 2010 install)
-C compiler - cl.exe
-C++ compiler -cl.exe
-linker for dynamic libs -link.exe
-linker for static libs - link.exe
-debugger - cdb.exe
-resource compiler - rc.exe
-make program - nmake.exe
-Additional Paths:
-C:\Program Files (x86)\Microsoft Visual Studio 10.0\common7\IDE (standard in Visual Studio 2010 install)
-C:\Program Files (x86)\Microsoft SDKs\v7.0A (standart for Microsoft SDKs install)
-C:\Program Files (x86)\Microsoft SDKs\v7.0A\bin (for a few libraries)
-Search Directories
-Compiler:
-C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include
-C:\Program Files (x86)\Microsoft SDKs\v7.0A\include
-Linker:
-C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib
-C:\Program Files (x86)\Microsoft SDKs\v7.0A\lib
-Resource Compiler:
-C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include
-C:\Program Files (x86)\Microsoft SDKs\v7.0A\include
And that's it! This should make everything compile ^^.
I just tested a basic hello world on it, and everything works fine. Everything else works as in MinGW (as in define your own add-on libraries and all)
For me those paths are slightly different:
You have:
C:\Program Files (x86)\Microsoft SDKs\v7.0A
I have:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
The current 13.12-RC1 still does not auto-detect these, or the main C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC path.
Also, to add (some) MFC support while still free, Install WDDK, then add:
Search directories
Compiler
C:\WinDDK\7600.16385.1\inc\mfc42
Linker
C:\WinDDK\7600.16385.1\lib\Mfc
Resource Compiler
C:\WinDDK\7600.16385.1\inc\mfc42