예제 #1
0
 public CMakeFileFormat(FilePath file, CMakeProject project, CMakeFileFormat parent)
 {
     this.file    = file;
     this.project = project;
     this.parent  = parent;
     Parse();
 }
 public override Task <SolutionItem> LoadSolutionItem(ProgressMonitor monitor, SolutionLoadContext ctx,
                                                      string fileName, MSBuildFileFormat expectedFormat,
                                                      string typeGuid, string itemGuid)
 {
     return(Task <SolutionItem> .Factory.StartNew(delegate {
         CMakeProject p = new CMakeProject();
         p.LoadFrom(fileName);
         return p;
     }));
 }
예제 #3
0
 public CMakeFileFormat(FilePath file, CMakeProject project) : this(file, project, null)
 {
 }