소스 검색

Force c++ builds for c++ files

Bill Hoffman 23 년 전
부모
커밋
bd47afa2cd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Source/cmLocalVisualStudio7Generator.cxx

+ 1 - 0
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
     {