diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2012-02-15 15:56:22 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-02-15 21:57:41 +0100 |
commit | 5672fa8fd3bd6b09125d9e143a7bb277cea2e87f (patch) | |
tree | c945b6ad76bd8c8f6af8b520cf3ce72ef298d4b5 /tests/manual/hello/src/main.cpp |
Long live qbs!
Change-Id: I412793e868919a9ac99611616f292e7047f1ebcf
Diffstat (limited to 'tests/manual/hello/src/main.cpp')
-rw-r--r-- | tests/manual/hello/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/manual/hello/src/main.cpp b/tests/manual/hello/src/main.cpp new file mode 100644 index 000000000..c08389c00 --- /dev/null +++ b/tests/manual/hello/src/main.cpp @@ -0,0 +1,17 @@ +#include "foo.h" +#include <stdio.h> + +#ifndef HAVE_MAIN_CPP +# error missing define HAVE_MAIN_CPP +#endif + +int main() +{ + someUsefulFunction(); +#ifdef _DEBUG + puts("Hello World! (debug version)"); +#else + puts("Hello World! (release version)"); +#endif +} + |