+ if(false) //noGlobalSettings)
+ {
+ defaultCompiler = MakeDefaultCompiler("Default", true);
+ delete ideSettings;
+ }
+ else
+ {
+ char * compiler = getenv("COMPILER");
+ if(!compiler) compiler = "Default";
+
+// TODO: Command line option to choose between the two
+// or a command line option to not use global settings
+//defaultCompiler = MakeDefaultCompiler();
+ defaultCompiler = ideSettings.GetCompilerConfig(compiler);
+// possible TODO: use the workspace to select the active compiler
+// TODO: option to specify compiler name when using global settings
+ }