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

Override system include flag when necessary #666

Open
kennyweiss opened this issue Nov 22, 2023 · 0 comments
Open

Override system include flag when necessary #666

kennyweiss opened this issue Nov 22, 2023 · 0 comments
Labels
documentation Issues related to documentation feature question User Request Related to user requests

Comments

@kennyweiss
Copy link
Member

@tomstitt noticed that CMake was not properly using isystem for system includes with the XL compiler and discovered that this can be overridden via the CMake variable: CMAKE_INCLUDE_SYSTEM_FLAG_CXX

e.g.

-DCMAKE_INCLUDE_SYSTEM_FLAG_CXX="-isystem"

Should BLT incorporate this?
At the very least, we might consider noting this in our user/API docs.

Note: This could potentially also be helpful for versions of MSVC that do not properly set its corresponding system include flag.

@kennyweiss kennyweiss added feature question documentation Issues related to documentation User Request Related to user requests labels Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues related to documentation feature question User Request Related to user requests
Projects
None yet
Development

No branches or pull requests

1 participant