summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-07-13 10:07:30 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-28 15:47:51 (GMT)
commit519606704eac6df1314ec6691a1b77d2131a6dbc (patch)
treee385553188a284cef18bfeae07c3ee5827d5e434 /Source/cmLocalVisualStudio7Generator.cxx
parent28be170fbc97a29be6383fb4afe5f62c6983fb2c (diff)
downloadCMake-519606704eac6df1314ec6691a1b77d2131a6dbc.zip
CMake-519606704eac6df1314ec6691a1b77d2131a6dbc.tar.gz
CMake-519606704eac6df1314ec6691a1b77d2131a6dbc.tar.bz2
Precompile headers: Add support for Visual Studio generators
Tested with Visual C++ 2017 on Windows. Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 2c91974..795cee4 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1320,6 +1320,8 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
const std::string& libName,
cmGeneratorTarget* target)
{
+ this->AddPchDependencies(target, "");
+
std::vector<std::string> configs;
this->Makefile->GetConfigurations(configs);