summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/filesystem/example/test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/boost/libs/filesystem/example/test
parentInitial commit. (diff)
downloadceph-upstream.tar.xz
ceph-upstream.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/libs/filesystem/example/test')
-rw-r--r--src/boost/libs/filesystem/example/test/Jamfile.v229
-rw-r--r--src/boost/libs/filesystem/example/test/build.bat7
-rwxr-xr-xsrc/boost/libs/filesystem/example/test/build.sh8
-rw-r--r--src/boost/libs/filesystem/example/test/setup.bat13
-rwxr-xr-xsrc/boost/libs/filesystem/example/test/setup.sh19
5 files changed, 76 insertions, 0 deletions
diff --git a/src/boost/libs/filesystem/example/test/Jamfile.v2 b/src/boost/libs/filesystem/example/test/Jamfile.v2
new file mode 100644
index 00000000..22a16325
--- /dev/null
+++ b/src/boost/libs/filesystem/example/test/Jamfile.v2
@@ -0,0 +1,29 @@
+# Boost Filesystem Library Tutorial Jamfile
+
+# (C) Copyright Beman Dawes 2010
+# (C) Copyright Vladimir Prus 2003
+
+# Distributed under the Boost Software License, Version 1.0.
+# See www.boost.org/LICENSE_1_0.txt
+
+# Library home page: http://www.boost.org/libs/filesystem
+
+project
+ : requirements
+ <library>/boost/filesystem//boost_filesystem
+ ;
+
+exe tut1 : tut1.cpp ;
+exe tut2 : tut2.cpp ;
+exe tut3 : tut3.cpp ;
+exe tut4 : tut4.cpp ;
+exe tut5 : tut5.cpp ;
+exe path_info : path_info.cpp ;
+
+install tut1-copy : tut1 : <location>. ;
+install tut2-copy : tut2 : <location>. ;
+install tut3-copy : tut3 : <location>. ;
+install tut4-copy : tut4 : <location>. ;
+install tut5-copy : tut5 : <location>. ;
+install path_info-copy : path_info : <location>. ;
+
diff --git a/src/boost/libs/filesystem/example/test/build.bat b/src/boost/libs/filesystem/example/test/build.bat
new file mode 100644
index 00000000..1921ca1c
--- /dev/null
+++ b/src/boost/libs/filesystem/example/test/build.bat
@@ -0,0 +1,7 @@
+@echo off
+rem Copyright Beman Dawes, 2010
+rem Distributed under the Boost Software License, Version 1.0.
+rem See www.boost.org/LICENSE_1_0.txt
+echo Compiling example programs...
+b2 %* >b2.log
+find "error" <b2.log
diff --git a/src/boost/libs/filesystem/example/test/build.sh b/src/boost/libs/filesystem/example/test/build.sh
new file mode 100755
index 00000000..19b1a788
--- /dev/null
+++ b/src/boost/libs/filesystem/example/test/build.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# Copyright Beman Dawes, 2010
+# Distributed under the Boost Software License, Version 1.0.
+# See www.boost.org/LICENSE_1_0.txt
+echo Compiling example programs...
+b2 $* >b2.log
+grep "error" <b2.log
diff --git a/src/boost/libs/filesystem/example/test/setup.bat b/src/boost/libs/filesystem/example/test/setup.bat
new file mode 100644
index 00000000..59822a51
--- /dev/null
+++ b/src/boost/libs/filesystem/example/test/setup.bat
@@ -0,0 +1,13 @@
+@echo off
+rem Copyright Beman Dawes, 2010
+rem Distributed under the Boost Software License, Version 1.0.
+rem See www.boost.org/LICENSE_1_0.txt
+echo Copying example programs...
+copy /y ..\tut1.cpp >nul
+copy /y ..\tut2.cpp >nul
+copy /y ..\tut3.cpp >nul
+copy /y ..\tut4.cpp >nul
+copy /y ..\tut5.cpp >nul
+copy /y ..\path_info.cpp >nul
+del *.exe 2>nul
+del *.pdb 2>nul
diff --git a/src/boost/libs/filesystem/example/test/setup.sh b/src/boost/libs/filesystem/example/test/setup.sh
new file mode 100755
index 00000000..cb1ba684
--- /dev/null
+++ b/src/boost/libs/filesystem/example/test/setup.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+
+# Copyright Beman Dawes, 2010
+# Distributed under the Boost Software License, Version 1.0.
+# See www.boost.org/LICENSE_1_0.txt
+echo Copying example programs...
+cp ../tut1.cpp .
+cp ../tut2.cpp .
+cp ../tut3.cpp .
+cp ../tut4.cpp .
+cp ../tut5.cpp .
+cp ../path_info.cpp .
+rm tut1 2>~/junk
+rm tut2 2>~/junk
+rm tut3 2>~/junk
+rm tut4 2>~/junk
+rm tut5 2>~/junk
+rm path_info 2>~/junk
+