Skip to content
Snippets Groups Projects
Forked from Core Modules / dune-common
Source project has a limited visibility.
  • Christian Engwer's avatar
    807e48b6
    [dunecontrol] support out-of-tree builds · 807e48b6
    Christian Engwer authored
    up to now you could specify a BUILDDIR variable, which implied that modules were built in
    $srdir/$BUILDDIR.
    Imagine you have your dune modules in $HOME/Src. When you set BUILDDIR=build.g++
    your dune-common module is built in $HOME/Src/dune-common/build.g++
    Now you change BUILDDIR to an absolute path, e.g. BUILDDIR=$HOME/Build.g++
    With the latest change dunecontrol will now build dune-common in
    $HOME/Build.g++/dune-common/
    
    Thanks to Angar for bugging me :-)
    807e48b6
    History
    [dunecontrol] support out-of-tree builds
    Christian Engwer authored
    up to now you could specify a BUILDDIR variable, which implied that modules were built in
    $srdir/$BUILDDIR.
    Imagine you have your dune modules in $HOME/Src. When you set BUILDDIR=build.g++
    your dune-common module is built in $HOME/Src/dune-common/build.g++
    Now you change BUILDDIR to an absolute path, e.g. BUILDDIR=$HOME/Build.g++
    With the latest change dunecontrol will now build dune-common in
    $HOME/Build.g++/dune-common/
    
    Thanks to Angar for bugging me :-)