Jump to content
Sign in to follow this  
chuckj

Project Includes

Recommended Posts

Thank you for a great compiler!

 

I am not sure whether this is an issue with anyone else, but I try to avoid specifying paths in #include statements.

 

It would be nice to have a way to specify include directories at the project level, with the path being relative or absolute.

This is analogous to specifying include directories in a make file.

 

Another way to do this would to check the project file list for the include filename and if found, use the full path from the project file list.

Share this post


Link to post
Share on other sites

My apologies, this is covered by using the -I command line option under Extra compiler options in Settings - Options.

I did not think that this was a project level setting, but it is!

Share this post


Link to post
Share on other sites

I guess this is more for aesthetic purposes but it would be nice if the source directory and the output directory are also configurable.

I usually keep my source files in a src folder, include in inc folder, and the output files in a debug or release folder.

Then I might have some batch files to help with the build process. Having a lot of these files in a single folder makes them looks cluttered.

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×