A naive grep tells me the IAR compiler detection sets CMAKE_CXX_LINK_FLAGS
in its compiler detection. Maybe that'd work for you?
On Fri, May 24, 2019 at 3:48 AM Zehner Paul wrote:
> Hello all,
>
> So, I managed to configure my `Fujitsu-CXX.cmake` file to use the Fujitsu
> C++ compiler with MPI
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
I had a similar problem on 14.04 and solved it by installing gcc 4.9 (other
version are also available) from the ubuntu-toolchain-r PPA.
This worked for me. YMMV:
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install gcc-4.9
$ sudo apt-get install g++-
I'm using CMake 3.2.3.
I really need to be able to add options to LINK_FLAGS using generator
expressions. When I use LINK_FLAGS with set_target_properties or
set_property, generator expressions are not expanded.
I noticed that the documentation for target_link_libraries says:
"Item names startin
I'm trying to add the /PDBSTRIPPED option LINK_FLAGS_RELWITHDEBINFO config
(Visual Studio generator, obviously):
set_target_properties(target PROPERTIES
LINK_FLAGS_RELWITHDEBINFO
"/PDBSTRIPPED:$/stripped/$.pdb")
Unfortunately the generator expressions aren't being expanded.
Any suggestions on