clang-power-tools
clang-power-tools copied to clipboard
Compile - ignore third-party project files
Hi,
With LLVM 17.0.1
the project compiles fine, but when using using the latest LLVM 18.1.2
I am running into compile errors of a third party library. The library is included in the solution as a separate project.
-
At Settings - Compiler - Projects to ignore I added this project (Codejock.ToolkitPro.Shared).
-
At Settings - Compiler - Files to ignore I added the parent folder of that project (C:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v22.1.0).
I believed this suffices after reading this comment, stating:
As of v7.9, Clang Power Tools does not implement predefined support (visual picker interface) for ignoring particular folders. However, you can achieve this by using the 'Files to ignore' field. This field supports partial matching of the project file paths, in your case the parent directory path. E.g. to ignore C:\source\myproj\main.cpp and all other files residing there you could pass C:\source\myproj to the Files to ignore field.
Although I am using the settings stated above, right clicking my project and hitting the Clang Power Tools - Compile action still results in:
C:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v22.1.0\Source\Common\ScrollBar\XTPScrollable.h(479): error: no member named 'GetStyle' in 'CObject'
What am I missing here?
Possibly related to: https://github.com/Caphyon/clang-power-tools/issues/1149
Best regards, Johannes