[build2] Issues with my first attempt at build2 CI

Klaim - Joël Lamotte mjklaim at gmail.com
Mon Oct 8 14:54:47 UTC 2018


Hi Karen,

On Mon, 8 Oct 2018 at 16:15, Karen Arutyunov <karen at codesynthesis.com> wrote:
> You can reproduce the issue locally preparing the distribution and
> trying to build it:
>
> $ git clone https://github.com/Klaim/gtest-build2.git
> $ git -C gtest-build2/ submodule update --init --recursive
> $ b dist: gtest-build2/@gtest-build2-out/ config.dist.root=./
> $ b gtest-1.8.0-a.1/

Thanks, that will be useful.

> To fix this you need to distribute the missed files, for example, changing
[...]
> lib{gtest} : src/cxx{gtest-all} include/hxx{**} \
>               src/hxx{*} \
>               src/file{gtest.cc gtest-death-test.cc gtest-filepath.cc \
>                        gtest-port.cc gtest-printers.cc \
>                        gtest-test-part.cc gtest-typed-test.cc}

Is there a specific reason you used file{} target instead of hxx{} ?
These files are included so I assumed they should be considered as
headers?

Joël



More information about the users mailing list