blob: e1a017697fbaf1fa45e8392142e0b63c088b0004 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
\begin{frame}[fragile]
\frametitle{Cmake based project}
\begin{verbatim}
.
├── files
│ └── hellocm-0.1.tar.bz2
└── hellocm_0.1.bb
\end{verbatim}
\begin{verbatim}
DESCRIPTION = "hellocm cmake example"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SECTION = "examples"
SRC_URI = "file://${PN}-${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}
\begin{verbatim}
DESCRIPTION = "helloqt QT example"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SECTION = "examples"
SRC_URI = "file://${PN}-${PV}.tar.bz2"
inherit qt4e
PR = "r4"
do_install() {
install -d ${D}${bindir}
install -m 0755 helloqt ${D}${bindir}
}
\end{verbatim}
\end{frame}
|