• # Comme ca

    Posté par (site web personnel) . En réponse au journal Un fichier standardisé pour décrire un projet. Évalué à -4.

    Juste un exemple ...
    voir la source pour avoir l'indentation

    <?xml version="1.0" charset="utf-8"?>
    <project
    xmlns="http://purl.org/NET/louve/2005/ref/project/v240702/main/"
    xmlns:c="http://purl.org/NET/louve/2005/ref/project/v240702/c/"
    xmlns:i="http://purl.org/NET/louve/2005/ref/project/v240702/install/"
    xmlns:l="http://purl.org/NET/louve/2005/ref/project/v240702/launcher/">
    <files>
    <c:header c:name="stdio.h" id="stdio_h" />
    <dir name="src" id="srcdir"> <!-- so now all subfile will be in src/ -->
    <c:executable c:name="exe" id="executable">
    <c:object c:name="main">
    <c:source c:name="main.c">
    <c:include c:name="misc.h" />
    <file idhref="stdio_h" />
    </c:source>
    </c:object>
    <c:object c:name="misc">
    <c:source c:name="misc.c">
    <file idhref="stdio_h" />
    </c:source>
    </c:object>
    <c:library c:name="c" c:version_min="6.2" version="6.*" />
    </c:executable>
    </dir>
    </files>
    <install>
    <dir name="libdir">
    <file idhref="executable" />
    </dir>
    <dir name="bindir">
    <l:launcher>
    <l:execute l:idhref="executable">
    <l:envvar l:name="" l:value="" />
    <l:pwd l:path="bindir" />
    <!--pwd l:idhref="srcdir"-->
    <l:icon l:file="src/icon.png" />
    <!--icon l:idhref="iconfile"-->
    <l:param l:value="--file" />
    <l:param l:idhref="stdio_h" />
    </l:execute>
    </l:launcher>
    </dir>
    </install>
    </project>