Issue #2 resolved

move xf.build.* modules out of xf

Tomasz Stachowiak
repo owner created an issue

This way xf and xf.utils can be just libraries / dependencies instead of having to put xfBuild within them, which seems to be popularly confusing amongst people trying to compile xfBuild.

Comments (6)

  1. Tomasz Stachowiak reporter

    Could be another prefix, could be no prefix at all. For xfBuild only, that is. It would still use xf.* and xf.utils.*, just xfBuild would be separate. Normally folks put xfBuild separately from xf.* and wonder why it doesn't work ;)

  2. Vincenzo Ampolo

    I've implemented it in my working copy and it compiles! :D

    The problem is only modlist.lst which is now:

    Main.d
    Module.d
    GlobalParams.d
    Process.d
    BuildTask.d
    Compiler.d
    Linker.d
    Misc.d
    MT.d
    /usr/include/d/xf/utils/Profiler.d
    /usr/include/d/xf/utils/HardwareTimer.d
    /usr/include/d/xf/utils/Memory.d
    /usr/include/d/xf/utils/CPUid.d
    /usr/include/d/xf/utils/Singleton.d
    

    It's pretty weird to add there the complete path. The best should be that you can pass the path in which xf library is.. any suggestions?

  3. Vincenzo Ampolo

    Done!

    XFPATH/utils/Profiler.d
    XFPATH/utils/HardwareTimer.d
    XFPATH/utils/Memory.d
    XFPATH/utils/CPUid.d
    XFPATH/utils/Singleton.d
    

    They are parsed by sed and you call the build script like:

    goshawk@earth:~/Documents/Projects/xfbuild$ bash ldcBuild.sh --xf /usr/include/d/xf/
    goshawk@earth:~/Documents/Projects/xfbuild$
    

    And it's there. The problem is to make build.bat and build.sh working. Any suggestion?

  4. Tomasz Stachowiak reporter

    As discussed on IRC, the module name changes look good IMHO :) the ldcBuid.sh script should be turned into build.sh with the compiler passed in as an option. I'll hack up a .bat file for windose.

  5. Log in to comment