Skip to content

Commit 0a97636

Browse files
committed
cppcheck.vcxproj: do not use precompiled header for externals sources
this fixes the conflict between functions with the same name in Cppcheck and simplecpp
1 parent a4bd260 commit 0a97636

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

lib/cppcheck.vcxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@
1818
</ProjectConfiguration>
1919
</ItemGroup>
2020
<ItemGroup Label="SourceFiles">
21-
<ClCompile Include="..\externals\simplecpp\simplecpp.cpp" />
22-
<ClCompile Include="..\externals\tinyxml2\tinyxml2.cpp" />
21+
<ClCompile Include="..\externals\simplecpp\simplecpp.cpp">
22+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
23+
<ForcedIncludeFiles></ForcedIncludeFiles>
24+
</ClCompile>
25+
<ClCompile Include="..\externals\tinyxml2\tinyxml2.cpp">
26+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
27+
<ForcedIncludeFiles></ForcedIncludeFiles>
28+
</ClCompile>
2329
<ClCompile Include="valueflow.cpp" />
2430
<ClCompile Include="tokenize.cpp" />
2531
<ClCompile Include="symboldatabase.cpp" />

0 commit comments

Comments
 (0)