build-time

GCC/Make Build Time Optimizations

We have project which uses gcc and make files. Project also contains of one big subproject (SDK) and a lot of relatively small subprojects which use that SDK and some shared framework. We use precompiled headers, but that helps only for re-compilation to be faster. Is there any known techniques and tools to help with build-time optim...

Forward typedef declarations, effect on build times, and naming conventions

I am curious about the impact my typedef approach has on my builds. Please consider the following example. #include "SomeClass.h" class Foo { typedef SomeClass SomeOtherName; SomeOtherName* storedPointer; void setStoredPointer(SomeOtherName* s); } void Foo::setStoredPointer(SomeOtherName* s) { storedPointer = s; } ...

How can I determine why a build runs slowly in Visual Studio 2005?

I wanted to know if it is possible to know why a Visual Studio 2005 (MSBuild) build is taking a long time to build a project. Suddenly we are getting 7-minute build times on some computers, while others take less, such as 4 minutes. So I think I need to identify changes that were made to the project and are causing a longer build time....

Is there a way to display the build time of an entire solution in Visual Studio ?

I know there is a way to display the build time of each project contained in a solution in visual studio. But what I'm looking for is the total time it took to build an entire solution, from the moment I clicked on build, to the moment it was done. Is there anyway to do this ? Running Visual Studio 2008. ...

Does installation occur during runtime, or during compile time?

According to published books suitable for a Wikipedia reference: Does installation occur during runtime, or during compile time? 'a "run-time error" is detected after or during the installation or copying of the program' -- Wikipedia ...

"variable tracking" is eating my compile time!

I have an auto-generated file which looks something like this... static void do_SomeFunc1(void* parameter) { // Do stuff. } // Continues on for another 4000 functions... void dispatch(int id, void* parameter) { switch(id) { case ::SomeClass1::id: return do_SomeFunc1(parameter); case ::SomeClass2::id: return...

Building SL4 + RIAServices app takes too long on VS2010.

Got a Win7 box with VS2010 Premium installed on it. Building desktop apps works just fine. But we got this solution with 15 SL4 and 21 desktop projects... Building the SL part of it takes too long. This is very irritating and encourages to drop TDD since every time I run a test it takes ~3 seconds for msbuild to find out that nothing c...

Why are our Visual Studio builds so slow, but only on one machine?

We recently bought two new build machines that have the same specs/hardware. From what I understand, the same or very similar disk images were used to load onto that machine. But, I believe Visual Studio 2008 was installed later on both. We have started a build of the same source code on both machines, but one of the machines always fini...