[yocto] [PATCH 08/13] plugins/cmake: Defined the building toolchain
Atanas Gegov
atanas.gegov.oss at gmail.com
Thu May 23 01:39:47 PDT 2013
From: Atanas Gegov <atanas.gegov at bmw-carit.de>
The CMake build toolchain uses the previously
defined builder and the cmake configure tool. The
rest of the tools are the standard gnu compiler/
linker for C and C++.
---
.../OSGI-INF/l10n/bundle.properties | 3 ++
plugins/org.yocto.cmake.managedbuilder/plugin.xml | 45 ++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/plugins/org.yocto.cmake.managedbuilder/OSGI-INF/l10n/bundle.properties b/plugins/org.yocto.cmake.managedbuilder/OSGI-INF/l10n/bundle.properties
index c66fcb9..e5db35f 100644
--- a/plugins/org.yocto.cmake.managedbuilder/OSGI-INF/l10n/bundle.properties
+++ b/plugins/org.yocto.cmake.managedbuilder/OSGI-INF/l10n/bundle.properties
@@ -18,6 +18,9 @@ extension.name=Yocto CMake Managed Builder
# Builder
builder.name=Yocto CMake Environment Builder
+# Toolchain
+toolchain=Yocto CMake Build (Toolchain)
+
# CMake configure
cmakeconfigure.name=CMake configure
cmakeconfigure.options=CMake Options
diff --git a/plugins/org.yocto.cmake.managedbuilder/plugin.xml b/plugins/org.yocto.cmake.managedbuilder/plugin.xml
index e8faadd..df1963b 100644
--- a/plugins/org.yocto.cmake.managedbuilder/plugin.xml
+++ b/plugins/org.yocto.cmake.managedbuilder/plugin.xml
@@ -111,5 +111,50 @@
valueType="string">
</option>
</tool>
+ <toolChain
+ id="org.yocto.cmake.managedbuilder.toolchain.gnu.exe"
+ name="%toolchain"
+ supportsManagedBuild="true">
+ <targetPlatform
+ id="org.yocto.cmake.managedbuilder.target.gnu.exe"
+ isAbstract="false"
+ superClass="cdt.managedbuild.target.gnu.platform.base">
+ </targetPlatform>
+ <builder
+ id="org.yocto.cmake.managedbuilder.builder.gnu.exe"
+ isAbstract="false"
+ isVariableCaseSensitive="false"
+ superClass="org.yocto.cmake.managedbuilder.builder">
+ </builder>
+ <tool
+ id="org.yocto.cmake.managedbuilder.cmakeconfigure.gnu.exe"
+ isAbstract="false"
+ superClass="org.yocto.cmake.managedbuilder.cmakeconfigure">
+ </tool>
+ <tool
+ id="org.yocto.cmake.managedbuilder.compiler.gnu.exe"
+ isAbstract="false"
+ natureFilter="ccnature"
+ superClass="cdt.managedbuild.tool.gnu.cpp.compiler">
+ </tool>
+ <tool
+ id="org.yocto.cmake.managedbuilder.linker.gnu.exe"
+ isAbstract="false"
+ natureFilter="ccnature"
+ superClass="cdt.managedbuild.tool.gnu.cpp.linker">
+ </tool>
+ <tool
+ id="org.yocto.cmake.managedbuilder.compiler.gnu.c.exe"
+ isAbstract="false"
+ natureFilter="cnature"
+ superClass="cdt.managedbuild.tool.gnu.c.compiler">
+ </tool>
+ <tool
+ id="org.yocto.cmake.managedbuilder.linker.gnu.c.exe"
+ isAbstract="false"
+ natureFilter="cnature"
+ superClass="cdt.managedbuild.tool.gnu.c.linker">
+ </tool>
+ </toolChain>
</extension>
</plugin>
--
1.7.9.5
More information about the yocto
mailing list