aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt')
-rw-r--r--meta/lib/oeqa/sdkext/files/myapp_cmake/CMakeLists.txt11
1 files changed, 11 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 00000000000..19d773dd636
--- /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)