diff options
author | Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> | 2016-08-24 15:50:07 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:46 +0100 |
commit | 574a5d4cf3e79815aecc4d198545119d3bbfb023 (patch) | |
tree | 7680804ff7052e7db252b4a688e84125e30136fa /meta/lib/oeqa/sdkext/files/myapp_cmake | |
parent | 5ec6d9ef309b841cdcbf1d14ac678d106d5d888a (diff) | |
download | openembedded-core-contrib-574a5d4cf3e79815aecc4d198545119d3bbfb023.tar.gz |
/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 <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdkext/files/myapp_cmake')
-rw-r--r-- | meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt | 11 | ||||
-rw-r--r-- | meta/lib/oeqa/sdkext/files/myapp_cmake/myapp.c | 9 |
2 files changed, 20 insertions, 0 deletions
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 <stdio.h> + +int +main(int argc, char *argv[]) +{ + printf("Hello world\n"); + + return 0; +} |