Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Minimal C/C++ compiler in toolchain to serve scanner config

Check the arduino plug-ins. They're pretty minimal. Their under the toolchains directory.

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message
From: Martin Runge
Sent: Friday, July 24, 2015 11:59 AM
To: CDT DEV (cdt-dev@xxxxxxxxxxx)
Reply To: CDT General developers list.
Subject: [cdt-dev] Minimal C/C++ compiler in toolchain to serve scanner config


Hi all,

For my CMake plugin, I need an idea how to solve to following problem:

In plugin.xml, I defined a toolchain with builder, a tool called cmake and a
build configuration.  The actual compiler and its options  is handled by
cmake, so CDT does not need too many details about compiler itself.

Unfortunately I cannot use the GCC Built-in Settings scanner as long as I do
not add a C/C++ Compiler to the toolchain, that is derived from
cdt.managedbuilder.tool.gnu.[c,cpp].compiler. But when I do, I get lot of
compiler settings offered in "Project properties->C/C++ Build->Settings", like
Dialect, Preprocessor, Includes, Optimization ... These settings are very
confusing for the user, because they have no effect as the compiler settings
are handled by CMake.

How can I hide the C/C++ Build->Settings options of the base GNU compiler in
my toolchain?
Or is there a way to provide my compiler in plugin.xml as tool in the
toolchain, that has no options, but will play together with the GNU C/C++
Built-In Settings detector?

Any ideas welcome...

Thank you in advance
Martin




_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top