Re: How to not build all projects when pressing <F5>

From: muchan (muchan_at_promikra.si)
Date: 03/19/04

  • Next message: Luc B.: "Re: Delete Function?"
    Date: Fri, 19 Mar 2004 10:39:23 +0100
    
    

    Luis Capriles wrote:

    > I am trying to build–and-run. When I’m debugging, after fixing a bug, I usually try the code change right away. I do that by pressing the <F5> key. Yes, there is a prompt but it builds and starts the debugger by pressing a single key.
    >
    > When I try to just build my “Startup Project”, I have a hard time finding it in the solution explorer. Having 35 projects and hundreds of files listed in the solution explorer makes it not so easy to find the startup project. It is actually hard to find. I think it is easier to hit the <F5> key and then stop the debugger, than it is to navigate through the Solution Explorer, find the “Startup Project”, right click on it, and build it.
    >
    > Even after I find it, it does exactly the same thing – it visits all the projects in the solution before compiling the files that need compiling.
    >
    > I’d also be very interested on a keyboard shortcut to only build the startup project, and only the dependencies that have changed (without visiting all the other projects, of course).
    >
    > Luis.
    >

    Well, then I don't know. Have you tried "Batch build option"?
    Here you could chose one from 70 lines (35 projects x 2 options).

    And, at <F5> it will start debugging the product of the currently chosen
    projects, that is, only your Project to be chosen should be bold.

    Ha! there is an icon in toolbars, that builds only the current project.
    That is, instead of one key press, what you seek is one click far...

    I don't relay on dependency analize of project/solution manager,
    and write my own makefile from the scratch, so it compiles only the neccessary
    files, but it would be a lot of work if you would write/configure makefiles
    for 35 projects...

    I wonder how Microsoft's developpers who write things like IDE or IE, etc.,
    use themselves for project managing. A lot of sample codes comes with makefile,
    and I assume that the IDE project managings are for "clients" of MS products,
    and "real programers" are still using old and tried makefile methode...

    At least, at major update like VC6 to VC7, it's easier to migrate with
    makefiles, IMHO.

    muchan


  • Next message: Luc B.: "Re: Delete Function?"

    Relevant Pages

    • Re: Want to compile my roguelike
      ... Do I need a seperate FuryBand makefile then? ... you don't need a makefile with lcc-win32. ... The aboove applies to compiling Vanilla Angband 3.0.6 on my ...
      (rec.games.roguelike.angband)
    • Re: makefile help
      ... linker utility to generate an output file. ... I'm compiling for our own processor. ... makefile for achieving this. ... Linux Potpourri and a.o.l.s. ...
      (alt.os.linux.suse)
    • Re: How to not build all projects when pressing <F5>
      ... It would just be very nice if I could find a way to reproduce the build behavior of the Developer Studio 6.0 ... >> Even after I find it, it does exactly the same thing –it visits all the projects in the solution before compiling the files that need compiling. ... >> Luis. ... A lot of sample codes comes with makefile, ...
      (microsoft.public.vc.ide_general)
    • Re: Help - make errors dealing with Kernel Source - all my kernel source code, old and new
      ... compiling my own source and I have a link in /usr/include/linux pointing ... My working kernel I am using now was my first AMD kernel compiled ... should be in the early part of the relevant makefile. ... need to look in the header which defines them. ...
      (Ubuntu)