diff options
author | David Cole <david.cole@kitware.com> | 2012-08-24 18:24:58 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-08-24 18:24:58 (GMT) |
commit | 38876a39036eaa2bdcc187aac93c96c6e8d6c95f (patch) | |
tree | f7c4f8e82404e9ab7d9b5fd31d1321e8256fe760 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | a9a3b3b8972d741d1607e25b1ee5739742e9cb6c (diff) | |
parent | f0ae381c73dd2b421cb7df407152ad4498428fc2 (diff) | |
download | CMake-38876a39036eaa2bdcc187aac93c96c6e8d6c95f.zip CMake-38876a39036eaa2bdcc187aac93c96c6e8d6c95f.tar.gz CMake-38876a39036eaa2bdcc187aac93c96c6e8d6c95f.tar.bz2 |
Merge topic 'VS10-PrecompiledHeader-default'
f0ae381 VS: Disable precompiled headers unless enabled by project (#12930)
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index c62cc61..d289695 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1205,6 +1205,7 @@ bool cmVisualStudio10TargetGenerator::ComputeClOptions( // Get preprocessor definitions for this directory. std::string defineFlags = this->Target->GetMakefile()->GetDefineFlags(); clOptions.FixExceptionHandlingDefault(); + clOptions.AddFlag("PrecompiledHeader", "NotUsing"); clOptions.Parse(flags.c_str()); clOptions.Parse(defineFlags.c_str()); clOptions.AddDefines |