I have some external header files in a separate directory (its the sqlite3.h). I want to be able to use them in my Eclipse CDT project. How would I include the directory to Eclipse?
Go to Project > Properties > C/C++ General > Paths and Symbols > Includes. Click Add, then File System and navigate to where the header files are stored.
(I usually select "Add to all configurations" and "Add to all languages" because it's easier to do it now than come back and change them later.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With