> 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: > [email protected] > > An: > "Konstantin Tokarev" > <[email protected]> > > Kopie: > CMake users <[email protected]> > > Datum: > 14.11.2017 13:42 > > Betreff: > Re: [CMake] > Toolchain with non-gcc argument format > > Gesendet von: > "CMake" > <[email protected]> > > 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
