What is a good way to build a lot of small tools in Visual Studio?
Suppose you have some source code that comes from the unix world.  This source consists of a few files which will create a library and a lot of small .c files (say 20 or so) that are compiled into command-line tools, each with their own `main()` function, that will use the library.

On unixy systems you can use a makefile to do this easily but the most naive transformation to the windows / Visual Studio world involves making a separate project for each tool which, although it works, is a lot of work to set up and synchronize and more difficult to navigate at both the filesystem and project/solution level.  I've thought about using different configurations where all but one .c file are excluded from the build but that would make building all the tools at once impossible.

Is there a nice way of building all the tools from a single "thing" (project, msbuild file, etc.)?

I'm really not interested in using cygwin's gcc/mingw or NAnt.  I'd like to stick with the standard Windows toolchain as much as possible.
What is a good way to build a lot of small tools in Visual Studio?
===

Suppose you have some source code that comes from the unix world.  This source consists of a few files which will create a library and a lot of small .c files (say 20 or so) that are compiled into command-line tools, each with their own `main()` function, that will use the library.

On unixy systems you can use a makefile to do this easily but the most naive transformation to the windows / Visual Studio world involves making a separate project for each tool which, although it works, is a lot of work to set up and synchronize and more difficult to navigate at both the filesystem and project/solution level.  I've thought about using different configurations where all but one .c file are excluded from the build but that would make building all the tools at once impossible.

Is there a nice way of building all the tools from a single "thing" (project, msbuild file, etc.)?

I'm really not interested in using cygwin's gcc/mingw or NAnt.  I'd like to stick with the standard Windows toolchain as much as possible.