From 574a5d4cf3e79815aecc4d198545119d3bbfb023 Mon Sep 17 00:00:00 2001 From: Francisco Pedraza Date: Wed, 24 Aug 2016 15:50:07 -0500 Subject: /oeqa/sdkext Adds verification for devtool on eSDK. The covered funcions are, build make, build esdk package, build cmake extend autotools recipe creation, kernel module, node.js installation and recipe creation. Signed-off-by: Francisco Pedraza Signed-off-by: Richard Purdie --- meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt | 11 +++++++++++ meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt create mode 100644 meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c (limited to 'meta/lib/oeqa/sdkext/files') diff --git a/meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt b/meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt new file mode 100644 index 0000000000..19d773dd63 --- /dev/null +++ b/meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required (VERSION 2.6) +project (myapp) +# The version number. +set (myapp_VERSION_MAJOR 1) +set (myapp_VERSION_MINOR 0) + +# add the executable +add_executable (myapp myapp.c) + +install(TARGETS myapp + RUNTIME DESTINATION bin) diff --git a/meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c b/meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c new file mode 100644 index 0000000000..f0b63f03f3 --- /dev/null +++ b/meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c @@ -0,0 +1,9 @@ +#include + +int +main(int argc, char *argv[]) +{ + printf("Hello world\n"); + + return 0; +} -- cgit 1.2.3-korg