From ede215cf93ba81c963ae62d665d0f32c9407551c Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:49:30 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../HelloWorldCCMakeProject/src/main.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c (limited to 'plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c') diff --git a/plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c b/plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c new file mode 100644 index 0000000..78b4e23 --- /dev/null +++ b/plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c @@ -0,0 +1,21 @@ +/** @mainpage $(projectName) - $(vendor) + * + * @author $(author) <$(email)> + * @version $(projectVersion) +**/ + + +#include +/** + * Main class of project $(projectName) + * + * @param argc the number of arguments + * @param argv the arguments from the commandline + * @returns exit code of the application + */ +int main(int argc, char **argv) { + // print a greeting to the console + printf("Hello World!\n"); + + return 0; +} -- cgit v1.2.3-54-g00ecf