makehackvoid/MHVLib — pull request #1 by projectgus (2012-08-18 02:46:42+00:00)
Title: Generic makefiles

I've been working on this branch to try and improve the Makefile workflow for 'make'-based MHVLib users, while not disrupting the Eclipse workflow. I started doing this because I was having troubling building the MHVLib development branch with make, and then I kind of got on a roll.

I haven't made any specific provisions for Eclipse. I'm hoping that Eclipse can make use of the C/C++ project option that references existing makefiles for building rather than generating its own.

Advantages to adopting the changes in this branch:
- MHVLib becomes IDE agnostic, broadens developer appeal.
- Compilation settings (like flags) can be made in one place for all projects.
- Any changes that are overridden in a specific project are easy to spot because default/minimal project makefiles are only 5 lines long.
- Compilation settings can be changed without using the Eclipse IDE.
- Removes need for 'make' users to source an environment script or preprocess makefiles to set paths.
- Removes ~15,000 lines of automatically generated boilerplate from source control (advantages:
cleaner commits for easier change tracking & revision, cleaner 'git status' output in working trees.)

There are a couple of other commits interwoven in there as well (ie I moved the __cxa_pure_virtual implementation to a separate file because it was generating duplicate symbol errors at link-time - any circumstances where the compiler knows it can inline this function is one you don't want to ever end up in, anyhow!).

I'd really appreciate it if you give the changes a look and try them out. :)

Cheers,

Angus