summaryrefslogtreecommitdiff
path: root/boost/tools/build/example/hello
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /boost/tools/build/example/hello
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'boost/tools/build/example/hello')
-rw-r--r--boost/tools/build/example/hello/hello.cpp16
-rw-r--r--boost/tools/build/example/hello/jamroot.jam1
-rw-r--r--boost/tools/build/example/hello/readme.txt7
3 files changed, 24 insertions, 0 deletions
diff --git a/boost/tools/build/example/hello/hello.cpp b/boost/tools/build/example/hello/hello.cpp
new file mode 100644
index 00000000..68080228
--- /dev/null
+++ b/boost/tools/build/example/hello/hello.cpp
@@ -0,0 +1,16 @@
+// Copyright (c) 2003 Vladimir Prus
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+// http://www.boost.org
+//
+
+#include <iostream>
+
+int main()
+{
+ std::cout << "Hello!\n";
+ return 1;
+}
diff --git a/boost/tools/build/example/hello/jamroot.jam b/boost/tools/build/example/hello/jamroot.jam
new file mode 100644
index 00000000..672ec02e
--- /dev/null
+++ b/boost/tools/build/example/hello/jamroot.jam
@@ -0,0 +1 @@
+exe hello : hello.cpp ;
diff --git a/boost/tools/build/example/hello/readme.txt b/boost/tools/build/example/hello/readme.txt
new file mode 100644
index 00000000..f416be67
--- /dev/null
+++ b/boost/tools/build/example/hello/readme.txt
@@ -0,0 +1,7 @@
+Copyright 2008 Jurko Gospodnetic
+Distributed under the Boost Software License, Version 1.0.
+(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+
+
+This example shows a very basic Boost Build project set up so it compiles a
+single executable from a single source file.