On 2017 M11 22, Wed 10:37:00 CET oliver.za...@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 -- 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 various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers