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

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

2018-11-01 Thread Craig Scott
On Fri, Nov 2, 2018 at 3:25 AM Federico Kircheis < federico.kirch...@gmail.com> wrote: > 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: >

[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