Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile - ignore third-party project files #1356

Open
johanneskopf opened this issue Apr 10, 2024 · 0 comments
Open

Compile - ignore third-party project files #1356

johanneskopf opened this issue Apr 10, 2024 · 0 comments

Comments

@johanneskopf
Copy link
Contributor

johanneskopf commented Apr 10, 2024

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:
#1149

Best regards,
Johannes

@johanneskopf johanneskopf changed the title Ignoring Ignoring Third Party Project files from compilation Apr 10, 2024
@johanneskopf johanneskopf changed the title Ignoring Third Party Project files from compilation Compile - Ignore Third Party Project files Apr 10, 2024
@johanneskopf johanneskopf changed the title Compile - Ignore Third Party Project files Compile - ignore third-party project files Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant