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

Object files should depend on spirv.h and friends #11

Merged
merged 1 commit into from
Nov 17, 2015

Conversation

dneto0
Copy link
Collaborator

@dneto0 dneto0 commented Nov 17, 2015

Don't use SYSTEM attribute on include_directories directive
for the SPIR-V standard header files. When you do, object files
are not considered dependent on those headers.

Checked by looking at the dependency file source/disassemble.cpp.o.d,
and by trying to compile after a trivial edit to spirv.h

Fixes #7

Also, use "" inclusion instead of <> inclusion for standard SPIR-V
headers.

Don't use SYSTEM attribute on include_directories directive
for the SPIR-V standard header files.  When you do, object files
are not considered dependent on those headers.

Checked by looking at the dependency file source/disassemble.cpp.o.d,
and by trying to compile after a trivial edit to spirv.h

Fixes KhronosGroup#7

Also, use "" inclusion instead of <> inclusion for standard SPIR-V
headers.
@dekimir
Copy link

dekimir commented Nov 17, 2015

+2

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

Successfully merging this pull request may close these issues.

None yet

2 participants