Thread: Visual Studio Setup

  1. #1
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465

    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?

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    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.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    in VS you have to add the additional include paths under

    Tools->Options->Projects and Solutions->VC++ Directories

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    519
    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 &#37;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

  5. #5
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Is there an 'nmake install' that adds to the path variable?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 08:26 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM