Beispiel #1
0
        public BuildSystem(Actions Action, PlatformArchitectures PlatformArchitecture, ProjectBase.ProfileBase.BuildConfigurations BuildConfiguration)
        {
            ConsoleHelper.WriteInfo(EnvironmentHelper.ManagedRuntime + " under " + EnvironmentHelper.Platform + " is present");

            PlatformType = (PlatformArchitecture == PlatformArchitectures.x86 ? ProjectBase.ProfileBase.PlatformTypes.x86 : ProjectBase.ProfileBase.PlatformTypes.x64);
            BuildSystem.BuildConfiguration = BuildConfiguration;

            compiler.ErrorRaised += OnError;
        }
Beispiel #2
0
        public BuildSystem(TargetsToBuild ToBuild, PlatformArchitectures PlatformArchitecture, ProjectFileGenerator.BuildConfigurations BuildConfiguration)
        {
            ConsoleHelper.WriteLineInfo(EnvironmentHelper.Runtime + " under " + EnvironmentHelper.Platform + " is present");

            finalOutputDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + EnvironmentHelper.PathSeparator;
            string rootPath = Path.GetFullPath(finalOutputDirectory + ".." + EnvironmentHelper.PathSeparator);

            processDirectory      = rootPath;
            intermediateDirectory = rootPath + "Intermediate" + EnvironmentHelper.PathSeparator;

            platformType       = PlatformType;
            buildConfiguration = BuildConfiguration;

            //rootPath = @"D:\Omid\Engine\ge3d\SourceCode";
            //processDirectory = rootPath;
            //intermediateDirectory = rootPath + "Intermediate\\";

            compiler.ErrorRaised += OnError;
        }