[cmake-developers] Non supported toolchain
Alexander Neundorf
neundorf at kde.org
Wed Nov 22 15:42:49 EST 2017
On 2017 M11 22, Wed 10:37:00 CET oliver.zabel at egoproducts.com wrote:
> Hi,
>
> i know this is the dev mailing list, but i tried to solve my problem in
> the normal one (see here
> https://www.mail-archive.com/cmake@cmake.org/msg57862.html) with no
> success.
>
> In Short: i have a toolchain for an microcontroller (renesas rx serjes)
> running on windows. I want to build my project with cmake and therefor
> wrote a toolchain file.
> The problem now is, that the compiler needs instead of "-I" for includes
> "-include=" and for defines "-define=". I found out that there seems to be
> internal variables CMAKE_INCLUDE_FLAG_C and CMAKE_DEFINE_FLAC_C but they
> don't seem to accesible from the toolchain file.
>
> Is there any chance beside writing a new module for a compiler to get this
> toolchain running?
no, you probably need to write a module file for the compiler. This is actually
not that complicated.
Alex
More information about the cmake-developers
mailing list