Visual Studio Setup
I am trying to better work with visual studio for programming, as I just got pro edition, and I was wondering, well, how do you carry ideas such as the include path into the program.
Normally I go to tools->configproperties->additional includes directories and hardcode the paths in, but this does not share very well.
How should I create software where compiling it would be like saying 'make install' and allow me to automatically search for the includes and libraries I'm using?
In visual studio?
No way that I'm aware. You can however share the project settings file which hopefully will help the user setup the project according to his environment. But he will still have to edit your paths.
in VS you have to add the additional include paths under
Tools->Options->Projects and Solutions->VC++ Directories
either ship your 3rd party includes/libs together with your code (add all what is needed for build to the repository for example) or use environment variables, for example %BOOST% points to a folder that includes...you guess it. many libs are setting such environment variables during their install anyway.
I prefer solution one,if there are no license concerns
Is there an 'nmake install' that adds to the path variable?