cmake failure (was:Re: Source directory restructuring)
bhardwajs at gmail.com
Fri Aug 11 00:34:47 EDT 2017
Actually, I was using ninja when I ran into this problem. Here is the
sequence of commands that lead to the error:
$mkdir gbuild && cc gbuild
$ cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF -G Ninja .. && ninja check &&
I am attaching po/missing.
Note that the following commands also didn't failed for the same reason.
$> cd .. && mkdir gbuild && cd gbuild
$> cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF -G Ninja ../gnucash/ &&
ninja check && ninja install
On Thu, Aug 10, 2017 at 6:09 AM, Geert Janssens <geert.gnucash at kobaltwit.be>
> On donderdag 10 augustus 2017 14:15:24 CEST Aaron Laws wrote:
> > I remember getting that error a long time ago, but I don't remember how
> > fix it. I think it has something to do with deleting a generated file and
> > having make re-generate it? It seems like we have a generated file in
> > version control? Is POTFILES.in generated and version controlled for
> > example?
> It is, but that's not the problem. However your reply did ring a bell and
> here's the issue:
> If your build directory is a subdirectory of your source directory make
> will fail because it will falsely believe the built files should be added
> POTFILES.in. Building with ninja-build doesn't exhibit this issue so I
> it's a make quirk.
> The immediate solution is simple: choose a build directory that's not a
> subdirectory of your source directory. How to nudge cmake to deal with this
> properly may be another matter.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5549 bytes
Desc: not available
More information about the gnucash-devel