gnucash unstable: Don't build design docs on Windows.
geert.gnucash at kobaltwit.be
Wed Oct 25 13:20:22 EDT 2017
Op zondag 22 oktober 2017 20:52:00 CEST schreef John Ralls:
> Updated via https://github.com/Gnucash/gnucash/commit/70a37a24 (commit)
> from https://github.com/Gnucash/gnucash/commit/7b44e280 (commit)
> commit 70a37a24ae013023a96e63625c30a0432ebcd136
> Author: John Ralls <jralls at ceridwen.us>
> Date: Sun Oct 22 11:51:26 2017 -0700
> Don't build design docs on Windows.
> To avoid requiring texinfo.
> diff --git a/libgnucash/doc/CMakeLists.txt b/libgnucash/doc/CMakeLists.txt
> index 19ffc16..8f6e5a1 100644
> --- a/libgnucash/doc/CMakeLists.txt
> +++ b/libgnucash/doc/CMakeLists.txt
> @@ -1,4 +1,6 @@
> +if (!WIN32)
> + ADD_SUBDIRECTORY(design)
> Summary of changes:
> libgnucash/doc/CMakeLists.txt | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
> gnucash-changes mailing list
> gnucash-changes at gnucash.org
I started seeing cmake warnings and make dist failures the last couple of
days. I bisected it back to this commit. Apparently cmake 3.9.1 doesn't like
it if you only conditionally add subdirectories.
Here's the warning cmake produces (on Fedora 25 & 26):
CMake Warning (dev):
Policy CMP0058 is not set: Ninja requires custom command byproducts to be
explicit. Run "cmake --help-policy CMP0058" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This project specifies custom command DEPENDS on files in the build tree
that are not specified as the OUTPUT or BYPRODUCTS of any
add_custom_command or add_custom_target:
For compatibility with versions of CMake that did not have the BYPRODUCTS
option, CMake is generating phony rules for such files to convince 'ninja'
Project authors should add the missing BYPRODUCTS or OUTPUT options to the
custom commands that produce these files.
This warning is for project developers. Use -Wno-dev to suppress it.
ninja-build dist will fail with this error:
$ ninja-build dist
ninja: error: '/home/janssege/Development/gnucash/gnucash-master/gnucash-
design-info', needed by 'gnucash-2.7.0.tar.gz', missing and no known rule to
More information about the gnucash-devel