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

Header only format causing indexing problems with XCode #391

Open
Bambofy opened this issue Nov 20, 2022 · 1 comment
Open

Header only format causing indexing problems with XCode #391

Bambofy opened this issue Nov 20, 2022 · 1 comment

Comments

@Bambofy
Copy link

Bambofy commented Nov 20, 2022

Describe the issue

Hi when XCode tries to index it gets stuck at the tinygltf header file because it contains all the code. Is there a way to have the implementation and definitions seperated so that it doesn't have to parse the implementation when it needs to index?

To Reproduce

  • OS: Mac OS X
  • Compiler: Clang

Expected behaviour

Indexing should complete normally like other libraries.

@syoyo
Copy link
Owner

syoyo commented Nov 20, 2022

There may be a macro to controlling indexing in XCode as done for IntelliSense

#if defined(TINYGLTF_IMPLEMENTATION) || defined(__INTELLISENSE__)

Contribution of XCode version of way for controlling indexing is much appreciated!

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

2 participants