Skip to content

Adding New Folders to C Projects #221

Answered by jonahgraham
gregwillits asked this question in Q&A
Discussion options

You must be logged in to vote

I think there may be some terminology confusion here, not quite sure.

A "source folder" in CDT is a folder that the sources are in, these are folders that are indexed, including for build, etc.

They can be configured in the project properties

These source folders appear at the top level all the time.

Includes need to be somewhat manually managed if you want that folder to be explicitly listed as a -I folder. This is done where you are describing, in the "Includes" tab under C/C++ Build

What I think you want to enter in the Includes tab is something like "${workspace_loc:/${ProjName}/src/inc}". The magic bits should be filled in automatically by pressing the Workspace button when adding a …

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@gregwillits
Comment options

@jonahgraham
Comment options

Answer selected by gregwillits
Comment options

You must be logged in to vote
6 replies
@gregwillits
Comment options

@jonahgraham
Comment options

@jonahgraham
Comment options

@gregwillits
Comment options

@jonahgraham
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #220 on December 12, 2022 22:21.