summaryrefslogtreecommitdiff
path: root/boost/tools/build/example/libraries/app
diff options
context:
space:
mode:
Diffstat (limited to 'boost/tools/build/example/libraries/app')
-rw-r--r--boost/tools/build/example/libraries/app/app.cpp15
-rw-r--r--boost/tools/build/example/libraries/app/jamfile.jam9
2 files changed, 24 insertions, 0 deletions
diff --git a/boost/tools/build/example/libraries/app/app.cpp b/boost/tools/build/example/libraries/app/app.cpp
new file mode 100644
index 00000000..f62c1c35
--- /dev/null
+++ b/boost/tools/build/example/libraries/app/app.cpp
@@ -0,0 +1,15 @@
+// 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 <lib1.h>
+
+int main()
+{
+ foo();
+}
diff --git a/boost/tools/build/example/libraries/app/jamfile.jam b/boost/tools/build/example/libraries/app/jamfile.jam
new file mode 100644
index 00000000..ed2054e1
--- /dev/null
+++ b/boost/tools/build/example/libraries/app/jamfile.jam
@@ -0,0 +1,9 @@
+# Copyright 2002, 2003, 2005 Vladimir Prus
+# 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)
+
+
+# Declare a executable file, which uses a library. Note that
+# includes that for library will be automatically used
+# when compiling 'app.cpp'
+exe app : app.cpp /library-example/foo//bar ;