Re: [CMake] Toolchain file for TI in CMake 3.10: how do I override compiler options and specify tools?

2019-02-23 Thread frodak17
uch as "--compile_only" and "--c_file=...". How do I get rid of >> these and specify what's correct for my toolchain? (Also, why do I need the >> CACHE STRING "" FORCE options? I pulled that out of various Stackoverflow >> posts but I have no idea why i

[CMake] Getting the path to object files?

2019-02-23 Thread Paul Smith
Hi all. I'm using CMake 3.13.4 across Linux, MacOS, and Windows, with various generators. I need to write a script (this only runs on Linux actually) that will do some processing on all the object files in a shared library and generate a linker version file. I'm trying to write a custom command

Re: [CMake] Toolchain file for TI in CMake 3.10: how do I override compiler options and specify tools?

2019-02-23 Thread Cristian Adam
ions? I pulled that out of various Stackoverflow posts > but I have no idea why it's necessary. Is that documented? What about the > configurations... where are they listed? Do I have them all?) > > Regarding the CMAKE__FLAGS_ have a look at this blog post: https://cristianadam.

Re: [CMake] Toolchain file for TI in CMake 3.10: how do I override compiler options and specify tools?

2019-02-23 Thread Patrick Griffiths
On Sat, Feb 23, 2019 at 12:49 AM Jason Heeris wrote: > I am trying to use CMake (3.10) to build an ANSI C project that may be > compiled on PC with eg. GCC, but also needs to compile with Texas > Instruments' compilers for their microprocessors. So I have about a million > questions. > > Accordin