[Visual c++ 2005 Express Beta 2] Compiling non-.cpp files

Hello,
I'm using Visual C++ 2005 Express and I need to compile files with non-standard extensions. The reason for this is that I have custom build orders for some files, but in some build configurations I want to compile those files directly using the Visual C++ compiler. How can I do this?
Thanks
[309 byte] By [ssteinberg] at [2007-12-16]
# 1
I only have Beta1 to test with but look at the compiler switch /TP. It will assume your code is C++ no matter the file extension.

Regards,
Henrik Goldman

HenrikGoldman at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2
Thanks a lot. This does solve one problem. However Visual C++ doesn't even call CL for non-.cpp/.c files. I can, for each file, set the build tool, yet doing it for a few hundreds of files... And I'll have to set the build tool for each build configuration for every new source file I create. Tongue Tied
Isn't there a way of setting extensions to compile just like .cpp files?
Anyway, if there is nothing tomorrow I'll just do it the hard way.
Thanks everybody.
ssteinberg at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3
Tools -> Options -> Projects and Solutions -> VC++ Project Settings
Look for C/C++ File Extensions in the grid.
ShaunMillerMS at 2007-8-21 > top of Msdn Tech,Visual C++,Visual C++ General...