Exemple #1
0
        public static string GetFBuildCompilerFamily(this CompilerFamily compilerFamily)
        {
            switch (compilerFamily)
            {
            case CompilerFamily.MSVC: return("msvc");

            case CompilerFamily.Clang: return("clang");

            case CompilerFamily.GCC: return("gcc");

            case CompilerFamily.SNC: return("snc");

            case CompilerFamily.CodeWarriorWii: return("codewarrior-wii");

            case CompilerFamily.CudaNVCC: return("cuda-nvcc");

            case CompilerFamily.QtRCC: return("qt-rcc");

            case CompilerFamily.VBCC: return("vbcc");

            case CompilerFamily.OrbisWavePsslc: return("orbis-wave-psslc");

            case CompilerFamily.ClangCl: return("clang-cl");

            case CompilerFamily.Auto: return(string.Empty);

            default: throw new Exception("Unrecognized compiler family");
            }
        }
Exemple #2
0
 public CompilerSettings(
     string compilerName,
     CompilerFamily compilerFamily,
     Platform platform,
     Strings extraFiles,
     string executable,
     string rootPath,
     DevEnv devEnv,
     IDictionary <string, Configuration> configurations
     )
 {
     CompilerName            = compilerName;
     FastBuildCompilerFamily = compilerFamily;
     PlatformFlags           = platform;
     ExtraFiles     = extraFiles;
     Executable     = executable;
     RootPath       = rootPath;
     DevEnv         = devEnv;
     Configurations = configurations;
 }