diff options
| author | Christian Kandeler <christian.kandeler@digia.com> | 2013-10-25 17:05:06 +0200 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-10-29 17:09:21 +0100 |
| commit | bb3f7fa4ead8b0a23539376fc4d23aee51a88863 (patch) | |
| tree | 622073f4487b48cd0a0899c8324b1344b79d497c /examples/helloworld-minimal | |
| parent | ceaa4b9a1f856aa82dfb95fbdef8b99f2105a669 (diff) | |
| download | qbs-bb3f7fa4ead8b0a23539376fc4d23aee51a88863.tar.gz | |
Add examples.
These are mostly former manual tests that seem useful for
demonstrating some feature to learners.
Change-Id: I06d895ebdee1280699416cf4930a08602951aaf7
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'examples/helloworld-minimal')
| -rw-r--r-- | examples/helloworld-minimal/hello.qbs | 6 | ||||
| -rw-r--r-- | examples/helloworld-minimal/main.cpp | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/helloworld-minimal/hello.qbs b/examples/helloworld-minimal/hello.qbs new file mode 100644 index 000000000..ed1c15d33 --- /dev/null +++ b/examples/helloworld-minimal/hello.qbs @@ -0,0 +1,6 @@ +import qbs + +CppApplication { + name: "HelloWorld-minimal" + files: "main.cpp" +} diff --git a/examples/helloworld-minimal/main.cpp b/examples/helloworld-minimal/main.cpp new file mode 100644 index 000000000..7f95e64bb --- /dev/null +++ b/examples/helloworld-minimal/main.cpp @@ -0,0 +1,6 @@ +#include <iostream> + +int main() +{ + std::cout << "Hello, World!" << std::endl; +} |
