0

I am using cpp -Idir_name command to preprocess the source file. In dir_name I have header files included that need to be used for preprocessing.

I want to add multiple directories that can be searched for header files. How can i do this?

1 Answer 1

3

You can have multiple -I directives, e.g.

cpp -Ifoo/bar -Ifoo/blech -I../baz ... 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.