Thread: how to create VC++ 2005 makefiles

  1. #1
    Registered User
    Join Date
    Aug 2005

    how to create VC++ 2005 makefiles

    I have about 20 projects that I ported from eVC++ 3.0 into VC++ 2005. That went reasonably well. Now I need to generate makefiles so that these projects can be built from a batch file. With eVC++ 3.0 all I had to do was select menu Project --> Generate makefile. I don't see anything like that in 2005 IDE or in the project's property page. Searched MSDN but it was no help at all.

    Anyone know how to do it?


  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Not looking good for you, it seems. I found a thread in MSDN forums, and if Martin Richter is correct, "since VS 2002 there no such option to export a project as a makefile".
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Aug 2005
    Thanks for the disappointing info -- I wonder why M$ did that???

  4. #4
    Join Date
    Nov 2004
    M$ didn't do anything. Someone at Microsoft likely decided the effort to change the makefile generator for the new .NET functionality wasn't worth the benefits.

  5. #5
    Registered User
    Join Date
    Jan 2005
    You can use the command line or automation interface to build your projects. It may not be that difficult if they are all in the same solution with proper dependencies.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. If you must port to .NET 2005, read this thread.
    By VirtualAce in forum A Brief History of
    Replies: 3
    Last Post: 10-22-2007, 06:51 AM
  2. Dynamic arrays of const objects under VC++ 2005
    By Mario F. in forum C++ Programming
    Replies: 6
    Last Post: 06-04-2006, 03:34 PM
  3. Create a file from c++ program
    By Dan17 in forum C++ Programming
    Replies: 2
    Last Post: 05-08-2006, 04:25 PM
  4. MSVC++ 2005 Express Ed
    By swgh in forum C++ Programming
    Replies: 3
    Last Post: 04-05-2006, 06:08 PM
  5. How to create a project
    By nurulsiddik in forum C Programming
    Replies: 1
    Last Post: 02-15-2002, 09:09 AM