Thread: Visual Studio

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

    Visual Studio

    I like programming with Visual Studio but I also like to make my projects open source and available to share. Sometimes though I use third party libraries and I link to them through the project files -- I was just wondering if there were like configure scripts that I could use to setup the project files for includes and libraries since this is basically like the makefiles for windows. On unix systems it's a little easier because 'make install' creates the install in absolute locations but there is nothing like this for windows (right?)

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    You could base your projects on cmake.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    I recently discovered premake | build script generation I thought that you might want to look at it. I found it while choosing an XML library (ended up with TinyXML++)

  4. #4
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    While I don't disagree that there are FAR better build systems out there, nmake is at least guaranteed to be present on any reasonable VC installation. A few judicious variables here, a batch file there, and the user can type "build" after setting variables appropriately to find the third party libs.

    Being dependent on third-party libs is bad enough already (from an ease-of-build standpoint) -- having to install and configure an entire build system just to compile somebody's code base will probably cause me to lose interest in trying.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  5. #5
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    cmake, premake, nmake -- obviously lots of options lol. I don't think visual studio can even create makefiles to use for nmake so screw that, I think the build format is the project file

    I was recently inspired by all these visual studio add-ins -- any of you guys have any favorites? I'm interested in all sorts of features -- except .net -- none of that

  6. #6
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    There's one add-on I just found that I thought was pretty cool.

    It updates VERSIONINFO structures in your resource files

    CodeGuru: Increment File and Product Version Number: Multiple IDE

    Now I just have to figure out how to read that information from my code

    Using Version Information

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