public GradleProjectGenerator(String SolutionName, Project Project, List <ProjectReference> ProjectReferences, PathString InputDirectory, PathString OutputDirectory, PathString SolutionOutputDirectory, String BuildGradleTemplateText, OperatingSystemType HostOperatingSystem, ArchitectureType HostArchitecture, OperatingSystemType TargetOperatingSystem, ArchitectureType?TargetArchitecture, ToolchainType Toolchain, CompilerType Compiler, CLibraryType CLibrary, CLibraryForm CLibraryForm, CppLibraryType CppLibrary, CppLibraryForm CppLibraryForm, ConfigurationType?ConfigurationType, PathString AndroidNdk)
 {
     this.SolutionName            = SolutionName;
     this.ProjectName             = Project.Name.Split(':').First();
     this.Project                 = Project;
     this.ProjectReferences       = ProjectReferences;
     this.InputDirectory          = InputDirectory.FullPath;
     this.OutputDirectory         = OutputDirectory.FullPath;
     this.SolutionOutputDirectory = SolutionOutputDirectory.FullPath;
     this.BuildGradleTemplateText = BuildGradleTemplateText;
     this.HostOperatingSystem     = HostOperatingSystem;
     this.HostArchitecture        = HostArchitecture;
     this.TargetOperatingSystem   = TargetOperatingSystem;
     this.TargetArchitecture      = TargetArchitecture;
     if (!TargetArchitecture.HasValue)
     {
         throw new NotSupportedException("ArchitectureTypeIsNull");
     }
     this.Toolchain         = Toolchain;
     this.Compiler          = Compiler;
     this.CLibrary          = CLibrary;
     this.CLibraryForm      = CLibraryForm;
     this.CppLibrary        = CppLibrary;
     this.CppLibraryForm    = CppLibraryForm;
     this.ConfigurationType = ConfigurationType;
     this.AndroidNdk        = AndroidNdk;
 }
Ejemplo n.º 2
0
 public NinjaProjectGenerator(Project Project, List <ProjectReference> ProjectReferences, PathString InputDirectory, PathString OutputDirectory, OperatingSystemType HostOperatingSystem, ArchitectureType HostArchitecture, OperatingSystemType TargetOperatingSystem, ArchitectureType TargetArchitecture, WindowsRuntimeType?WindowsRuntime, ToolchainType Toolchain, CompilerType Compiler, CLibraryType CLibrary, CLibraryForm CLibraryForm, CppLibraryType CppLibrary, CppLibraryForm CppLibraryForm, ConfigurationType ConfigurationType)
 {
     this.Project               = Project;
     this.ProjectReferences     = ProjectReferences;
     this.InputDirectory        = InputDirectory.FullPath;
     this.OutputDirectory       = OutputDirectory.FullPath;
     this.HostOperatingSystem   = HostOperatingSystem;
     this.HostArchitecture      = HostArchitecture;
     this.TargetOperatingSystem = TargetOperatingSystem;
     this.TargetArchitecture    = TargetArchitecture;
     this.WindowsRuntime        = WindowsRuntime;
     this.Toolchain             = Toolchain;
     this.Compiler              = Compiler;
     this.CLibrary              = CLibrary;
     this.CLibraryForm          = CLibraryForm;
     this.CppLibrary            = CppLibrary;
     this.CppLibraryForm        = CppLibraryForm;
     this.ConfigurationType     = ConfigurationType;
 }
 public AndroidBatchProjectGenerator(String SolutionName, Project Project, List <ProjectReference> ProjectReferences, PathString InputDirectory, PathString OutputDirectory, PathString SolutionOutputDirectory, OperatingSystemType HostOperatingSystem, ArchitectureType HostArchitecture, OperatingSystemType TargetOperatingSystem, ArchitectureType?TargetArchitecture, ToolchainType Toolchain, CompilerType Compiler, CLibraryType CLibrary, CLibraryForm CLibraryForm, CppLibraryType CppLibrary, CppLibraryForm CppLibraryForm, ConfigurationType?ConfigurationType, PathString Jdk, PathString AndroidSdk, PathString AndroidNdk, String BuildToolVersion, int MinSdkVersion, int TargetSdkVersion, PathString KeyStore, String KeyStorePass, String KeyAlias, String KeyPass, bool IsDebug)
 {
     this.SolutionName            = SolutionName;
     this.ProjectName             = Project.Name.Split(':').First();
     this.Project                 = Project;
     this.ProjectReferences       = ProjectReferences;
     this.InputDirectory          = InputDirectory.FullPath;
     this.OutputDirectory         = OutputDirectory.FullPath;
     this.SolutionOutputDirectory = SolutionOutputDirectory.FullPath;
     this.HostOperatingSystem     = HostOperatingSystem;
     this.HostArchitecture        = HostArchitecture;
     this.TargetOperatingSystem   = TargetOperatingSystem;
     if (!TargetArchitecture.HasValue)
     {
         throw new NotSupportedException("ArchitectureTypeIsNull");
     }
     this.TargetArchitecture = TargetArchitecture.Value;
     if (!ConfigurationType.HasValue)
     {
         throw new NotSupportedException("ConfigurationTypeIsNull");
     }
     this.Toolchain         = Toolchain;
     this.Compiler          = Compiler;
     this.CLibrary          = CLibrary;
     this.CLibraryForm      = CLibraryForm;
     this.CppLibrary        = CppLibrary;
     this.CppLibraryForm    = CppLibraryForm;
     this.ConfigurationType = ConfigurationType.Value;
     this.Jdk              = Jdk;
     this.AndroidSdk       = AndroidSdk;
     this.AndroidNdk       = AndroidNdk;
     this.BuildToolVersion = BuildToolVersion;
     this.MinSdkVersion    = MinSdkVersion;
     this.TargetSdkVersion = TargetSdkVersion;
     this.KeyStore         = KeyStore;
     this.KeyStorePass     = KeyStorePass;
     this.KeyAlias         = KeyAlias;
     this.KeyPass          = KeyPass;
     this.IsDebug          = IsDebug;
 }
Ejemplo n.º 4
0
 public VcxprojGenerator(Project Project, String ProjectId, List <ProjectReference> ProjectReferences, PathString BuildDirectory, PathString InputDirectory, PathString OutputDirectory, String VcxprojTemplateText, String VcxprojFilterTemplateText, OperatingSystemType HostOperatingSystem, ArchitectureType HostArchitecture, OperatingSystemType TargetOperatingSystem, ArchitectureType?TargetArchitecture, WindowsRuntimeType?WindowsRuntime, CompilerType Compiler, CLibraryType CLibrary, CLibraryForm CLibraryForm, CppLibraryType CppLibrary, CppLibraryForm CppLibraryForm, String CC, String CXX, String AR)
 {
     this.Project                   = Project;
     this.ProjectId                 = ProjectId;
     this.ProjectReferences         = ProjectReferences;
     this.BuildDirectory            = BuildDirectory.FullPath;
     this.InputDirectory            = InputDirectory.FullPath;
     this.OutputDirectory           = OutputDirectory.FullPath;
     this.VcxprojTemplateText       = VcxprojTemplateText;
     this.VcxprojFilterTemplateText = VcxprojFilterTemplateText;
     this.HostOperatingSystem       = HostOperatingSystem;
     this.HostArchitecture          = HostArchitecture;
     this.TargetOperatingSystem     = TargetOperatingSystem;
     this.TargetArchitecture        = TargetArchitecture;
     this.WindowsRuntime            = WindowsRuntime;
     this.Compiler                  = Compiler;
     this.CLibrary                  = CLibrary;
     this.CLibraryForm              = CLibraryForm;
     this.CppLibrary                = CppLibrary;
     this.CppLibraryForm            = CppLibraryForm;
     this.CC  = CC;
     this.CXX = CXX;
     this.AR  = AR;
 }