Refactor model generation for multiple backends

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@858 c0027639-9190-0b57-01eb-f09a03790dae
testing git svn

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@859 c0027639-9190-0b57-01eb-f09a03790dae
minor build changes to support OSX

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@867 c0027639-9190-0b57-01eb-f09a03790dae
fix isnan inconsistency on Linux/Unix

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@868 c0027639-9190-0b57-01eb-f09a03790dae
updates to comply with unix standard linking convetions and add support for OSX

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@875 c0027639-9190-0b57-01eb-f09a03790dae
enhance cross-platformness for OSX

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/refactor_modelgen@876 c0027639-9190-0b57-01eb-f09a03790dae
enable OSX suport, refactor-modelgen with only OSX updates

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/feature-OSX@877 c0027639-9190-0b57-01eb-f09a03790dae
Preparing to move branch into trunk..
Changed all #define XXX to #define(XXX)

Moved the __getch to rr namespace  and renamed it to getch. Also removed static..
Re-enabled compiler flags in the compiler for windows.

Ran the tests with visual studio 2012 and codegear.. seem ok

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/feature-OSX@882 c0027639-9190-0b57-01eb-f09a03790dae
Merged the feature-OSX branch into trunk... it will be deleted after merge..



git-svn-id: https://roadrunnerlib.googlecode.com/svn/trunk@883 c0027639-9190-0b57-01eb-f09a03790dae