- Apr 27, 2015
-
-
Although GNU find may allow to omit the directory argument, an ordinary (e.g. BSD) find does not.
-
- Mar 12, 2015
-
-
Christian Engwer authored
if the user has for some reason old la files from the autotools era, these can lead to very subtle and hard to understand errors. We now check for old la files and bail out in case some are found.
-
- Mar 07, 2015
-
-
Martin Nolte authored
Previously, the command vcsetup, which is executed on command 'all', was not listed on the help screen.
-
- Mar 05, 2015
-
-
Christian Engwer authored
This reverts commit 9f9bc5c0. see FS#1576
-
- Feb 25, 2015
-
-
Christian Engwer authored
We fix the option handling when calling "cmake --build", by prepending '--' to the command line parameters, in order to separate cmake and build parameters, iff the user didn't alrready do it himself so. Note that this means we assume that the users generally want to pass parameters to the build command and not to cmake itself.
-
Christian Engwer authored
-
- Feb 24, 2015
-
-
Markus Blatt authored
This reverts commit eb045a4d. As it severly breaks using the make build system. See https://dune-project.org/flyspray/index.php?do=details&task_id=1572
-
- Feb 19, 2015
-
-
Christian Engwer authored
this makes new automake versions work like old automake versions. Some of my projects used to compile objects in subdirs from parent directories. New automake versions don't allow this. We don't want to atopt our projects to changes in automake and make the transition to cmake... so keep the old behaviour, by adding this option.
-
- Feb 04, 2015
-
-
Markus Blatt authored
-
Markus Blatt authored
Previously this was only set if run_default_configure was executed before. Ergo dunecontrol make did try to use cmake even if USE_CMAKE=no was set. This fixes flyspray 1560. https://dune-project.org/flyspray/index.php?do=details&task_id=1560
-
Markus Blatt authored
It sets LOCAL_USE_CMAKE for the current module depending on USE_CMAKE and whether there actually is CMake support for this module. This will make it more easy to use the same check in all run_* directives.
-
- Jan 09, 2015
-
-
Markus Blatt authored
Previously we did not catch patterns at the start of the line. Seems like sed cannot handle [ ^] as the meaning of ^ is the not operator here and not the line beginning.
-
Markus Blatt authored
Unfortunately environment variables with these names are not honored by CMake's FindMPI. Therefore this commit translates them to MPI_{C,CXX}_COMPILER and adds them to CMAKE_FLAGS before calling cmake.
-
Markus Blatt authored
When deciding which variable to put before cmake as environment variables our sed pattern did not check for the beginning of a word or line. Therefore MPICC=bla would be converted to CC=bla. With this commit we make sure that there is eihter a beginning of a line or a whitespace before the variable.
-
- Jan 02, 2015
-
-
Christoph Grüninger authored
This enables ninja-build and other build systems to be called correctly. Targets can be passed by adding "--target <targetname>
-
- Nov 19, 2014
-
-
Christoph Grüninger authored
The warning was spilled out for every module for every command, even for update. The build directory is announced by CMake's configure anyway. Now it is printed for make, too.
-
- Nov 15, 2014
-
-
Christoph Grüninger authored
CMAKE can now be set in the shell or the opts file, if both are set the shell has higher priority. This feature was dropped in …aef001c21e3a9 to fix FS#1518.
-
Christoph Grüninger authored
-
- Oct 28, 2014
-
-
Christoph Grüninger authored
The only case we do not want to use the build-dir is when explicitly autotools are used.
-
Christoph Grüninger authored
CMAKE is nom handled similar to MAKE. CMAKE is no longer evaluated in the opts file as this would overwrite a CMAKE set by the dunecontrol call. This fixes FS#1518.
-
- Oct 27, 2014
-
-
Christoph Grüninger authored
-
- Oct 10, 2014
-
-
Christoph Grüninger authored
Once CMake will be default, people can deactivate it.
-
- Sep 15, 2014
-
-
Dominic Kempf authored
dunecontrol is capable of doing out of source builds, that are not nested within the source directory by giving an absolute path to the --builddir option. Unfortuantely, this (nice) feature was not documented.
-
- Mar 19, 2014
-
-
Christian Engwer authored
sadly the touchpad added some arbitrary "pwd; ", which slipped my test, as I don't use cmake. Thanks to Andi Buhr for pointing this out.
-
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 :-)
-
- Feb 16, 2014
-
-
This commit implements support for using nested build directories of the form (o) build/sequential/debug/cmake/clang (o) build/parallel/release/autotools/gcc in addition to the separate build directory feature that already existed. This enables confining multiple build configurations to a single subdirectory of each module's directory to avoid otherwise littering the module directory. Note: Using "mkdir -p" presumes a SUS v3 mkdir(1) utility.
-
Christoph Grüninger authored
The dune symlink was deprecated since 2009.
-
- Feb 10, 2014
-
-
Markus Blatt authored
This completes the last patch by using $m for the module name. Finally, installed modules are found correctly.
-
Markus Blatt authored
The check was whether $module_inst is yes, but what we actually want to check is $INT_$module. This patch fixes this and forces configure to use pkg-config for the installed module again. Only this allows us to extract custom libdirs.
-
- Jan 31, 2014
-
-
Markus Blatt authored
clang does not support -print-multiarch. Therefore we try to extract the "Target:" line from clang -v.
-
Markus Blatt authored
This patch moves the "set +e" command to the correct location during detection of the multiarch variable. That is is before any $CXX --print-multiarch call. Now dunecontrol will not fail for compilers not supporting it.
-
- Jan 29, 2014
-
-
Markus Blatt authored
It is the default any way and people might want to change it via an opts-file.
-
Markus Blatt authored
-
Markus Blatt authored
This patch fixes two issues: - Faulty an non-posix sed expression - Precendence issue (multiarch was extracted before compiler was set.)
-
Markus Blatt authored
-
- Jan 17, 2014
-
-
Markus Blatt authored
Somewhere along the many changes we stopped forcing usage of pkg-config when testing for installed versions of modules during configure. Without using pkg-config there is no way of detecting custom installation parts used by the user. In my case, this broke finding modules installed via cmake from modules that are to built with autotools. This patch forces DUNE_CHECK_MODULE to use pkg-config to setup the paths for installed modules by dunecontrol not provinding --with-module=<path> to configure for installed modules.
-
- Jan 16, 2014
-
-
Markus Blatt authored
-
Markus Blatt authored
-
- Jan 09, 2014
-
-
Markus Blatt authored
Previously some of the pathes (e.g the multiarch ones) took precedence over the others. But as with same some of the pkgconfig files are installed below lib/<multiarch> and others (if there is not object library) are not. With this patch all possible install locations of pkgconfig files are added to the path if they exist.
-
- Jan 08, 2014
-
-
Markus Blatt authored
-