yep,
any good IDE will be able to use the cross-compiler
and most will automatically detect if you have one installed

in any case, it's just a matter declaring the right executables to make
instead of
Code:
CC=gcc
CXX=g++
it's
Code:
CC=mingw-gcc-win32
CXX=mingw-g++-win32