Exemplo n.º 1
0
        ////private string outputPath = null;
        /// <summary>
        /// Initializes a new instance of the VSProjectParser class.
        /// </summary>
        /// <param name="projectFile">Visual Studio project file to parse.</param>
        public VSProjectParser(SourcePath projectFile)
        {
            this.projectFile = projectFile;
            this.Parse();

            CustomManifestParser cm = new CustomManifestParser(this.projectFile);
            this.dependencies.UnionWith(cm.getDependencies());
            this.outputs.UnionWith(cm.getOutputs());
        }
Exemplo n.º 2
0
        public VSProjectParser(SourcePath projectFile)
        {
            _projectFile = projectFile;
            _parse();

            CustomManifestParser cm = new CustomManifestParser(_projectFile);
            _dependencies.UnionWith(cm.getDependencies());
            _outputs.UnionWith(cm.getOutputs());
        }
Exemplo n.º 3
0
        ////private string outputPath = null;

        /// <summary>
        /// Initializes a new instance of the VSProjectParser class.
        /// </summary>
        /// <param name="projectFile">Visual Studio project file to parse.</param>
        public VSProjectParser(SourcePath projectFile)
        {
            this.projectFile = projectFile;
            this.Parse();

            CustomManifestParser cm = new CustomManifestParser(this.projectFile);

            this.dependencies.UnionWith(cm.getDependencies());
            this.outputs.UnionWith(cm.getOutputs());
        }
Exemplo n.º 4
0
        public NmakeVerb(SourcePath makefile)
        {
            this.makefile = makefile;
            this.abstractId = new AbstractId(this.GetType().Name, version, this.makefile.ToString());

            // Generate output path.
            this.outputPath = ".";
            int depth = this.makefile.getDirPath().Split(@"\/".ToCharArray(), StringSplitOptions.RemoveEmptyEntries).Length;
            for (int i = 0; i < depth; i++)
            {
                this.outputPath = Path.Combine(this.outputPath, "..");
            }

            this.outputPathSuffix = Path.Combine(BuildEngine.theEngine.getObjRoot(), this.makefile.getDirPath());
            this.outputPath = Path.Combine(this.outputPath, this.outputPathSuffix);
            this.customManifest = new CustomManifestParser(this.makefile);
        }
Exemplo n.º 5
0
        public NmakeVerb(SourcePath makefile)
        {
            this.makefile   = makefile;
            this.abstractId = new AbstractId(this.GetType().Name, version, this.makefile.ToString());

            // Generate output path.
            this.outputPath = ".";
            int depth = this.makefile.getDirPath().Split(@"\/".ToCharArray(), StringSplitOptions.RemoveEmptyEntries).Length;

            for (int i = 0; i < depth; i++)
            {
                this.outputPath = Path.Combine(this.outputPath, "..");
            }

            this.outputPathSuffix = Path.Combine(BuildEngine.theEngine.getObjRoot(), this.makefile.getDirPath());
            this.outputPath       = Path.Combine(this.outputPath, this.outputPathSuffix);
            this.customManifest   = new CustomManifestParser(this.makefile);
        }