DSP Generator

Why ?
Principles / Use
Downloads

Why ?

Generate automatically a .dsp can be usefull in several cases :

Principles / Use

This tool operate in three steps :

  1. tree.xml : A tree of the files is built in tree.xml. This can be automatically done by xmlTree.py (allows to define filters), or edited by hand. This tree contains :
    • dir tags for the directories.
    • custom tags according to the extension (for instance, header tag for .h files)
    • file tags for unknown files.
    This distinction can be used then to generate separate Folder structure in the dsp project (for instance Sources will contain the directory structure with all .cpp files, Headers the directory structur but with .h files, and Other Files the other files)
  2. Makefile.xml : This file contains all the custom data for the dsp creation. You must edit this file to provide compilation/link options, and also the directory structure. The options should be expicit enough.
  3. dsp.xsl : This is the XSL Stylesheet that will transform your Makefile.xml in a valid .dsp file.
Important Note : Note that the input file of dsp.xsl is only Makefile.xml. The tree file (tree.xml) will be included during the process by Makefile.xml.

Download

This Zip Package contains :

Note that this tool is highly alpha software. Because dsp files are very sensitive, it may fail several times. Try to edit by hand the generated file to see what could be wrong. Especially, do not put extra space or carriage returns in the tags of the Makefile.xml.