I did not find the CMAKE_INCLUDE_FLAG_C in the CMake cache - is it 
possible that this is somehow ignored?



Von:    oliver.za...@egoproducts.com
An:     Konstantin Tokarev <annu...@yandex.ru>
Kopie:  CMake users <cmake@cmake.org>, CMake <cmake-boun...@cmake.org>
Datum:  15.11.2017 12:34
Betreff:        [CMake] Antwort: Re:Antwort: Re: Toolchain with non-gcc 
argument        format
Gesendet von:   "CMake" <cmake-boun...@cmake.org>



> Are you writing this in toolchain file, or you created another module in 
Modules/Compiler? 

I wrote this in my toolchain-file. 



Von:        Konstantin Tokarev <annu...@yandex.ru> 
An:        oliver.za...@egoproducts.com 
Kopie:        CMake users <cmake@cmake.org>, CMake 
<cmake-boun...@cmake.org> 
Datum:        15.11.2017 12:04 
Betreff:        Re:Antwort: Re: [CMake] Toolchain with non-gcc argument 
format 





> 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.za...@egoproducts.com
> 
> An:
> "Konstantin Tokarev"
> <annu...@yandex.ru>
> 
> Kopie:
> CMake users <cmake@cmake.org>
> 
> Datum:
> 14.11.2017 13:42
> 
> Betreff:
> Re: [CMake]
> Toolchain with non-gcc argument format
> 
> Gesendet von:
> "CMake"
> <cmake-boun...@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

-- 

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


-- 

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

Reply via email to