[CMake] CMake on host executing compiler inside docker

2019-12-11 Thread Federico Kircheis
Hello, I'm trying to solve following problem. test as many different compilers as possible with no (or minimal) maintenance burden. As docker is the newest trend, I decided to give it a try (nearly using it for the first time). Also the GCC team has official docker images (https://hub.docke

[CMake] Running test from cmake on windows

2019-08-06 Thread Federico Kircheis
Hello, I'm having some trouble understanding how I can execute my test suite uniformly on all platforms. On GNU/Linux (with `make`), I can execute cmake -S "$PROJDIR" -B "$BUILDDIR" -DCMAKE_BUILD_TYPE="$build_type" -DBUILD_TESTING=ON cmake --build "$BUILDDIR" cmake --build "$BUILDDIR" --

Re: [CMake] include a file from the toolchain file

2018-11-02 Thread Federico Kircheis
>You should be able to use CMAKE_CURRENT_LIST_DIR to specify a location >relative to the toolchain file itself. Thank you, it worked without an hiccup -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers

[CMake] include a file from the toolchain file

2018-11-01 Thread Federico Kircheis
As described on https://github.com/Kitware/CMake/ I'm writing here to check if the current behavior of cmake is really a bug. I'm having following issues with toolchains files. Here is my use case: I have a `toolchain.gcc.cmake` and a `toolchain.clang.cmake` toolchain files. Those files define