Build Times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a library file "EMD_Data.lib" that contains a significant amount of raw data (an array of structs, each struct has 74 members of all data types, and the array is about 4000 elements). I have a handful of main arx projects that #include its header and link to that library file.
In VS2008, it used to take about 55 minutes to compile the Win-32 and x64 versions of the .lib file. This wasn't a problem because I only need to rebuild those files very infrequently, about once a year. The main projects compiled (even rebuild all) in about a minute.
In VS2008, my project settings for both the .lib and the .arx files were "No whole program optimization" and the C/C++ optimization was set to "Whole program Optimization" -> NO. For the .arx files, the Linker optimization for "Link Time Code Generation" was set to "Default".
I just migrated my files to VS2010 and I maintained the same settings.
The .lib file takes about 40 minutes and the .arx files each take about 30 minutes. The .arx files are programs on which I am always working (say once a week) so I can't possibly be productive when it takes this long to build the application every time I want to test out a new routine or improve on an old one.
Any suggestions or advice would be greatly appreciated.
Thanks,
Ed