Comments (1)
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 new include.
Here is a screenshot showing all of it in one place.
Hopefully the above either answers your question, or provides the starting point to ask me a clarifying question.
from cdt.
Related Issues (20)
- Unable to build Eclipse-CDT sources of released builds HOT 6
- Deprecate and mark for removal C/C++ Projects view (CView) HOT 7
- Headless build ignores project dependencies and builds projects in random order HOT 11
- CMake: CMakePropertyPage_LaunchCMakeGui opens cmake-gui with wrong source path
- Windows: Using Internal Builder + Parallel jobs fail HOT 5
- Build error on main due to missing org.apache.commons.io
- IContentType.isAssociatedWith uses equalsIgnoreCase to compare the extensions making cSource a subset of cxxSource HOT 9
- org.freemarker version included in p2 repo doesn't match target platform
- CDT 11.4.0 HOT 2
- CDT 11.3 does not have BREE header in MANIFEST.MF, uses Require-Capability, causes false positive API Compatibility errors HOT 7
- click LaunchBar's edit button in the toolbars to open the junit testcase show an error dialog HOT 1
- testCommonSDK (org.eclipse.cdt.internal.pdom.tests.PDOMProviderTests) flaky HOT 2
- Remove unusable and unreferenced API
- When building in docker container, headers are not copied, so indexer can't use them HOT 9
- Improve presentation of debug source and header files in Project Explorer HOT 1
- [Feature Request] Surround a selection with brackets and quotes HOT 4
- Support building in container for Cmake projects
- Preprocessor macro parsing does not accept a string token as an argument to the pasting operator HOT 3
- CDT does not detect installations of the MSYS2 UCRT64 toolchain HOT 1
- Installer OOmph Script CDT for Development not working, "Cannot complete the install because one or more required items could not be found." HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdt.