diff options
author | Melanie Cappelaere <melanie.cappelaere@barco.com> | 2018-05-18 08:25:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-18 14:12:19 (GMT) |
commit | fd0da95f6333b7a12f4f9b22e60adb429430d283 (patch) | |
tree | 74b56856c23e51e4fe53bd5ac095ad346560a775 /Help/prop_gbl | |
parent | e81e024330c57b154a30f8c8af1a15a49d1614e5 (diff) | |
download | CMake-fd0da95f6333b7a12f4f9b22e60adb429430d283.zip CMake-fd0da95f6333b7a12f4f9b22e60adb429430d283.tar.gz CMake-fd0da95f6333b7a12f4f9b22e60adb429430d283.tar.bz2 |
Eclipse: Add property to include additional contents in .cproject file
Similar to ECLIPSE_EXTRA_NATURES which can be used to add a third party
nature to the .project, this property offers the possibility to inject
third party contents into the .cproject.
An example of where this is useful is MCUXpresso. This is an IDE based
on Eclipse. Compiling through CMake generated Eclipse projects works
fine by using a custom toolchain. However, in order to be able to debug
using such a project, an extra storageModule specific to the target
board is needed in the cproject.
Diffstat (limited to 'Help/prop_gbl')
-rw-r--r-- | Help/prop_gbl/ECLIPSE_EXTRA_CPROJECT_CONTENTS.rst | 12 | ||||
-rw-r--r-- | Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_gbl/ECLIPSE_EXTRA_CPROJECT_CONTENTS.rst b/Help/prop_gbl/ECLIPSE_EXTRA_CPROJECT_CONTENTS.rst new file mode 100644 index 0000000..50c41a9 --- /dev/null +++ b/Help/prop_gbl/ECLIPSE_EXTRA_CPROJECT_CONTENTS.rst @@ -0,0 +1,12 @@ +ECLIPSE_EXTRA_CPROJECT_CONTENTS +------------------------------- + +Additional contents to be inserted into the generated Eclipse cproject file. + +The cproject file defines the CDT specific information. Some third party IDE's +are based on Eclipse with the addition of other information specific to that IDE. +Through this property, it is possible to add this additional contents to +the generated project. +It is expected to contain valid XML. + +Also see the :prop_gbl:`ECLIPSE_EXTRA_NATURES` property. diff --git a/Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst b/Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst index 6d1529d..a46575f 100644 --- a/Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst +++ b/Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst @@ -6,3 +6,5 @@ List of natures to add to the generated Eclipse project file. Eclipse projects specify language plugins by using natures. This property should be set to the unique identifier for a nature (which looks like a Java package name). + +Also see the :prop_gbl:`ECLIPSE_EXTRA_CPROJECT_CONTENTS` property. |