Force c++ builds for c++ files
This commit is contained in:
parent
90169d041c
commit
bd47afa2cd
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue