[Dune] Building dune 2.1

Andreas Lauser andreas.lauser at iws.uni-stuttgart.de
Tue Jan 3 16:05:57 CET 2012


Hi Markus,

On Dienstag, 3. Januar 2012 you wrote:
> Hi,
> 
> On Mon, Jan 02, 2012 at 05:26:02PM +0100, Andreas Lauser wrote:
> > ... because the nullptr test requires configure to be regenerated. IMHO
> > this would not have happend with a CMake build system...
> 
> Would you mind telling us why and how this works?

yes, CMake includes the tests on the fly. That's because the 'autogen' stage is 
not necessary, i.e. running the 'cmake' command for a build directory is 
roughly equivalent to the autogen and configure stages. 

> Would they include
> the tests from different modules on the fly?

Also yes, the tests can be located in the source tree of their respective dune 
module; dunecontrol only needs to call the 'cmake' command with 
-DCMAKE_MODULE_PATH="<list of directories>".

cheers
  Andreas

-- 
Andreas Lauser
Department of Hydromechanics and Modelling of Hydrosystems
University of Stuttgart
Pfaffenwaldring 61
D-70569 Stuttgart
Phone: (+49) 711 685-64719
Fax: (+49) 711 685-60430
www.hydrosys.uni-stuttgart.de




More information about the Dune mailing list