summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-03-14 16:59:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-03-14 16:59:45 (GMT)
commitbd47afa2cd5e985eea2bac9dce8fe1d82df65295 (patch)
tree18b8217fb3845e9729c267f109dba412bb7bb5a1
parent90169d041ce5657ace8518830ac63ce30d3c0604 (diff)
downloadCMake-bd47afa2cd5e985eea2bac9dce8fe1d82df65295.zip
CMake-bd47afa2cd5e985eea2bac9dce8fe1d82df65295.tar.gz
CMake-bd47afa2cd5e985eea2bac9dce8fe1d82df65295.tar.bz2
Force c++ builds for c++ files
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index ef287b9..85ef8c8 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -250,6 +250,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
if(target.HasCxx())
{
flags = m_Makefile->GetDefinition("CMAKE_CXX_FLAGS");
+ flags += " -TP ";
}
else
{