diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:36:50 +0100 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 15:25:03 +0100 |
| commit | 41ac47d732eed8392d60d0f6773e5a279d49b999 (patch) | |
| tree | cf19d099db9cfdb8d73aa21c31e7aa1cc86ff860 /plugins/org.yocto.cmake.managedbuilder/templates/projecttemplates/HelloWorldCCMakeProject/src/main.c | |
| download | eclipse-poky-juno-master.tar.gz | |
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@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.c | 21 |
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 | */ | ||
| 16 | int main(int argc, char **argv) { | ||
| 17 | // print a greeting to the console | ||
| 18 | printf("Hello World!\n"); | ||
| 19 | |||
| 20 | return 0; | ||
| 21 | } | ||
