[pgrouting-dev] Can we use the "build" directory to build?

Daniel Kastl daniel at georepublic.de
Fri Mar 22 22:27:00 PDT 2013


Hi Steve,

First of all, the build on Ubuntu 12.10 worked without any issues ...
except that I had to compile CMake 2.8.10

As you're cleaning up the CMake installation I thought it would be nice I
could easily cleanup the files generated by CMake.
There is "make clean", which didn't help and "cmake clean" doesn't exist.
But it's actually very easy to do this with "out-of-source build":
http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

mkdir mybuild && cd mybuild
cmake ../.

And everything is in the "mybuild" directory and can be cleaned up with "rm
-Rf mybuild".

There are two small things I don't like:

   1. Couldn't this somehow be part of the cmake configuration, so it uses
   a build directory even cmake is run in project root ("cmake ../." looks a
   bit weird, too) ... will try to find if this is possible.
   2. I think "build" would be the best name for such a directory name, but
   it's already used with your notes how to build on Windows. Could we change
   your current build directory to some other name, for example
   "dists/windows" ... or any better name. I just didn't have a good idea.

Anyway, even if (1) isn't possible I would like to change the documentation
to "out-of-source build" style.

Daniel


-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20130323/d0e88c39/attachment.html>


More information about the pgrouting-dev mailing list