diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-08-05 19:32:57 +0000 |
---|---|---|
committer | <> | 2014-10-07 10:01:33 +0000 |
commit | 1c3648bf5b7d17fcd4fe9bc95802b16fd9eee304 (patch) | |
tree | 03de66686a262696ec2ac408e62250dc1f0c01aa /tools/build/example/hello | |
parent | 8c4528713d907ee2cfd3bfcbbad272c749867f84 (diff) | |
download | boost-tarball-1c3648bf5b7d17fcd4fe9bc95802b16fd9eee304.tar.gz |
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_56_0.tar.bz2.boost_1_56_0
Diffstat (limited to 'tools/build/example/hello')
-rw-r--r-- | tools/build/example/hello/hello.cpp | 16 | ||||
-rw-r--r-- | tools/build/example/hello/jamroot.jam | 1 | ||||
-rw-r--r-- | tools/build/example/hello/readme.txt | 7 |
3 files changed, 24 insertions, 0 deletions
diff --git a/tools/build/example/hello/hello.cpp b/tools/build/example/hello/hello.cpp new file mode 100644 index 000000000..680802289 --- /dev/null +++ b/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/tools/build/example/hello/jamroot.jam b/tools/build/example/hello/jamroot.jam new file mode 100644 index 000000000..672ec02e9 --- /dev/null +++ b/tools/build/example/hello/jamroot.jam @@ -0,0 +1 @@ +exe hello : hello.cpp ; diff --git a/tools/build/example/hello/readme.txt b/tools/build/example/hello/readme.txt new file mode 100644 index 000000000..f416be675 --- /dev/null +++ b/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. |