Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8996763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:47:54+00:00 2026-06-15T23:47:54+00:00

What are the requirements for include header files and project dependencies ? This seems

  • 0

What are the requirements for include header files and project dependencies ?

This seems like a very basic question, but I am trying to get to the essence of the problem. (Purpose: design, refactoring, possible automation).

I have seen different types of headers:

<c++ standard headers>
<core library headers>
<external library headers>
<local project headers>
  • If I look at an “include” directory, how do I recognize that a header
    is a C++ standard header ?

[There used to be a location, in Options or somewhere, to show paths to references. I can’t find it anymore. Does it still exist ?]

  • If I include an external library header (library-type project), I typically have to do all of the following:

    a) give my project knowledge of the location of “include” files

    b) link the lib

    c) add the project as a dependency, in the
    solution.

I prefer to do a) and b) through property sheet references. The property sheet of the dependent library has, of course, the list of dependencies, library directories, include directories. (Do I have to do all 3 steps ?)

  • If I include “core library headers” like boost, I don’t need to include any of the boost projects in my solution (I do have a property sheet for boost that tells my project where required files are).
    Why ??????

How can I tell when I must add the project to the solution as a dependency ?

When do I have to add the lib as a dependency ? (Or, in other words, why don’t I have to add libs like boost as dependency ?)

Do these libraries have something special, so that I don’t have to include them ?

What must I do when creating a library, to make it so that it does not have to be included in every solution that uses its header files, as a dependency ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:47:55+00:00Added an answer on June 15, 2026 at 11:47 pm

    The answer to my question – so I don’t leave it unanswered – is quite simple: it is a matter of choice !

    I will choose to include other projects to the solution, if at some point they can be modified and a change to those projects may require them to be rebuilt, therefore affecting the project I am working on.

    I will not include any projects, like third-party, open-source libraries (example: boost), which are unlikely to change.

    One of the other items in question: where are the C++ standard headers… There is an environment variable $(INCLUDE) that shows the paths to the included directories. Unfortunately, it is not set as a System Environment Variable… Not sure how it can be accessed through code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For a project where most queries on the database will include requirements like within
I have been trying to figure this little section of my larger project out
I have some basic knowledge about compiling C but need to get a couple
There seems to be two major conventions for organizing project files and then many
The requirements for this web app include the following: 1- Need to interact with
Requirements I would like to keep an audit log of particular events, such as:
Requirements Project should contain 1 main application and some secondary sub applications (which uses
I have created a virtualenv with the --no-site-packages option. I get an error trying
My requirements are same to the question asked Using Iterators to hide internal container
I'm trying to cut my last dependencies on PHP and MySQL. The last stumbling

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.