diff --git a/gradle-cpp-plugin/04-hello-linux-package/build.gradle b/gradle-cpp-plugin/04-hello-linux-package/build.gradle new file mode 100644 index 0000000..006db25 --- /dev/null +++ b/gradle-cpp-plugin/04-hello-linux-package/build.gradle @@ -0,0 +1,8 @@ +apply plugin: 'cpp' +plugins { + id "nebula.os-package" version "2.0.3" +} + +executables { + main +} diff --git a/gradle-cpp-plugin/04-hello-linux-package/src/cpp/hellomuni.cpp b/gradle-cpp-plugin/04-hello-linux-package/src/cpp/hellomuni.cpp new file mode 100644 index 0000000..76274b1 --- /dev/null +++ b/gradle-cpp-plugin/04-hello-linux-package/src/cpp/hellomuni.cpp @@ -0,0 +1,9 @@ +#include + +using namespace std; + +int main() { + cout << "Hello FI MUNI!" << endl; + return 0; +} +