Support more C++ file extensions for MSVC in the compile script.
commita89953333a36b8b8ebce393fe74034e4bfb739ab
authorPeter Rosin <peda@lysator.liu.se>
Mon, 16 Aug 2010 07:59:10 +0000 (16 09:59 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Mon, 16 Aug 2010 07:59:10 +0000 (16 09:59 +0200)
treec37eaf3a10deea188b2fc08570a322c9f57722ab
parent8c406f64b66aedee8359ddf1383e087faa2ba233
Support more C++ file extensions for MSVC in the compile script.

* lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp
file extension as C++, unless it's given a hint. So hint about
.cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on
.c, .cpp, .CPP, .lib, .LIB and .Lib files.
* lib/compile3.test: Test the C++ hinting.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
ChangeLog
lib/compile
tests/compile3.test