mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-15 08:13:38 +01:00
update definition of C++ gradle projects
This commit is contained in:
7
gradle-c-plugin/03-executable/build.gradle
Normal file
7
gradle-c-plugin/03-executable/build.gradle
Normal file
@@ -0,0 +1,7 @@
|
||||
apply plugin: 'c'
|
||||
|
||||
executables {
|
||||
main {
|
||||
}
|
||||
}
|
||||
|
||||
6
gradle-c-plugin/03-executable/src/main/c/hello.c
Normal file
6
gradle-c-plugin/03-executable/src/main/c/hello.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char** argv){
|
||||
printf("Hello FI MUNI!\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user