ok but then I cannot compile under 10.8 with the vm maker image provided on
But then again, it does not make any sense to hardcode the compilers in the
VMMaker files, that is what you have the $CC env variable for..
Guys, your problem is that you want to make a single configuration work
A configs serve to be working on a specific platform / version , and
hardcoding is on purpose, that you specify settings for specific
If you change system/environment, it will not work anymore, and to adapt
config for other system, you either make a subclass, or fresh new class,
where you again hardcode everything.
I prefer to have multiple classes per each platform/version than a single
one with lots of IFs and case statements, because at some point you getting
lost in them and no longer can understand why it fails.
- the configuration should simply not hardcode the path to the compilers
- you set the compiler in your bash environment if you want to override it:
that works on all OSXes. So this has nothing to do with the specific
platform, its simply a mistake in the configuration...
But right now you overwrite a feature of cmake which does not make sense to