From e11da41853ddb36745c68adaab352fbe00bebc16 Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@linutronix.de>
Date: Wed, 18 May 2016 09:44:42 +0200
Subject: split yocto advanced training

use several tex files and include them in the presentation

Signed-off-by: Manuel Traut <manut@linutronix.de>
---
 .../yocto-advanced/yocto-add-qt-cmake-projects.tex | 45 ++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 distribution/yocto-advanced/yocto-add-qt-cmake-projects.tex

(limited to 'distribution/yocto-advanced/yocto-add-qt-cmake-projects.tex')

diff --git a/distribution/yocto-advanced/yocto-add-qt-cmake-projects.tex b/distribution/yocto-advanced/yocto-add-qt-cmake-projects.tex
new file mode 100644
index 0000000..2e5fa41
--- /dev/null
+++ b/distribution/yocto-advanced/yocto-add-qt-cmake-projects.tex
@@ -0,0 +1,45 @@
+\begin{frame}[fragile]
+\frametitle{cmake based project}
+\begin{verbatim}
+.
+├── files
+│   └── hellocm-0.1.tar.bz2
+└── hellocm_0.1.bb
+\end{verbatim}
+\pause
+\begin{verbatim}
+DESCRIPTION = "hellocm cmake example"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+SECTION = "examples"
+SRC_URI = "file://${BPN}-${PV}.tar.bz2"
+inherit cmake
+
+#export EXTRA_OECMAKE = '-DBLUBB="bla"
+
+FILES_{PN} = "${bindir}/hellocm"
+\end{verbatim}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{qt application}
+\begin{verbatim}
+├── files
+│   └── helloqt-1.0.tar.bz2
+└── helloqt_1.0.bb
+\end{verbatim}
+\pause
+\begin{verbatim}
+DESCRIPTION = "helloqt QT example"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+SECTION = "examples"
+SRC_URI = "file://${BPN}-${PV}.tar.bz2"
+inherit qt4e
+PR = "r4"
+do_install() {
+        install -d ${D}${bindir}
+        install -m 0755 helloqt ${D}${bindir}
+}
+\end{verbatim}
+\end{frame}
-- 
cgit v1.2.3

