summaryrefslogtreecommitdiffstats
path: root/plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:49:30 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:49:30 +0200
commitede215cf93ba81c963ae62d665d0f32c9407551c (patch)
tree4a6dc80f259bccb8ff8b76d31e6cc8794bd97a2b /plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c
downloadeclipse-poky-kepler-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c')
-rw-r--r--plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c21
1 files changed, 21 insertions, 0 deletions
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 @@
1/** @mainpage $(projectName) - $(vendor)
2 *
3 * @author $(author) <$(email)>
4 * @version $(projectVersion)
5**/
6
7
8#include <stdio.h>
9/**
10 * Main class of project $(projectName)
11 *
12 * @param argc the number of arguments
13 * @param argv the arguments from the commandline
14 * @returns exit code of the application
15 */
16int main(int argc, char **argv) {
17 // print a greeting to the console
18 printf("Hello World!\n");
19
20 return 0;
21}