[CMake] Antwort: Re: Toolchain with non-gcc argument format
Konstantin Tokarev
annulen at yandex.ru
Wed Nov 15 06:03:58 EST 2017
> Hi,
>
> i tried now, to setup correctly the
> toolchain with your help and the existing toolchain-files but cmake is
> not replacing "-I" to "-include="
>
> set(CMAKE_INCLUDE_FLAG_C "--include="
> FORCE)
>
> set(CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER>
> -output=obj -cpu=rx200 -lang=c99 -goptimize -size <INCLUDES> <DEFINES>
> <FLAGS> <SOURCE>")
>
> The resulting output is: ccrx.exe -output=obj
> -cpu=rx200 -lang=c99 -goptimize -size -IC:\Users\....
>
> Is there something other that has to
> be set?
Are you writing this in toolchain file, or you created another module in Modules/Compiler?
>
> Thanks!
>
> Von:
> oliver.zabel at egoproducts.com
>
> An:
> "Konstantin Tokarev"
> <annulen at yandex.ru>
>
> Kopie:
> CMake users <cmake at cmake.org>
>
> Datum:
> 14.11.2017 13:42
>
> Betreff:
> Re: [CMake]
> Toolchain with non-gcc argument format
>
> Gesendet von:
> "CMake"
> <cmake-bounces at cmake.org>
>
> Hi,
>
> Sorry - I don’t get the hint :) thanks, I will look into it!
>
> Cheers!
>
> Oliver
>
> --
>
> 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
--
Regards,
Konstantin
More information about the CMake
mailing list