Trick to getting static libraries "IntelliSensed"?

Started by
2 comments, last by mattnewport 19 years, 9 months ago
Hey all, I'm chipping away on writing a utility library (finally) and the fact that auto complete isn't popping up, is starting to bug me. Whats the trick to getting intellisense to work on static libraries? I've got the headers and the .lib in the same directory, what else do I need to do to get it to show up in the test project? Thanks.
Advertisement
Add the header files to the project?
Thats the only way to do it? Even with a static library?

How do things like the STL and Windows get intellisense then? I don't add those headers to my project.
I'd guess that headers in the VC include directories get intellisensed so adding your library to the standard include path would probably do the trick. A better way though is to add the projects for your utility libraries to the solution (as it's called in .NET, can't remember what they called it in VC6) for the app you're working on. Setup your app's dependencies correctly and that has the added benefit of automatically rebuilding the libraries whenever necessary.

Game Programming Blog: www.mattnewport.com/blog

This topic is closed to new replies.

Advertisement