diff options
Diffstat (limited to 'boost/tools/build/example/hello')
| -rw-r--r-- | boost/tools/build/example/hello/hello.cpp | 16 | ||||
| -rw-r--r-- | boost/tools/build/example/hello/jamroot.jam | 1 | ||||
| -rw-r--r-- | boost/tools/build/example/hello/readme.txt | 7 |
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. |
