Force c++ builds for c++ files

This commit is contained in:
Bill Hoffman 2003-03-14 11:59:45 -05:00
parent 90169d041c
commit bd47afa2cd
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
if(target.HasCxx()) if(target.HasCxx())
{ {
flags = m_Makefile->GetDefinition("CMAKE_CXX_FLAGS"); flags = m_Makefile->GetDefinition("CMAKE_CXX_FLAGS");
flags += " -TP ";
} }
else else
{ {