i have created cmake project , i included all the source files , i am able to generate object files but i got linking error.
this is the error → “cctc E205: don’t know what to do with @CMakeFiles\sample.rsp” .
compiler : TASKING
No, the response files are a mechanism used in CMake (probably the Ninja generator here).
And how does CMake identify it? There should be a line in an initial configure about “compiler identification”. If CMake doesn’t know how to use the compiler you’ve given, it won’t be able to make command lines that work for it. If it thinks it is MSVC or something, it better well act like MSVC or things just won’t work.
A Tasking compiler is not generating exe files, it’s making binaries for embedded systems (in my case: car electronics). It’s creating Hex files and elf files.
We are currently having a home-made build system made in Python, but are looking for something more ‘professional’.
I’m also trying to understand what is needed to make a toolchain that supports the Tasking compiler, but I’m totally new to cmake, so if someone can help, I’d appreciate a lot.
CMake can build embedded apps as good as desktop apps. The PR with the compiler support will add everything necessary to build Tricore (TC3x and TC4x) applications. By default it creates elf-files, but you can add options for hex as well. I use it to build TC3x applications already and it works great. Together with ninja its very fast. Are you using tricore as well?