From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/boost/libs/filesystem/example/test/Jamfile.v2 | 29 +++++++++++++++++++++++ src/boost/libs/filesystem/example/test/build.bat | 7 ++++++ src/boost/libs/filesystem/example/test/build.sh | 8 +++++++ src/boost/libs/filesystem/example/test/setup.bat | 13 ++++++++++ src/boost/libs/filesystem/example/test/setup.sh | 19 +++++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 src/boost/libs/filesystem/example/test/Jamfile.v2 create mode 100644 src/boost/libs/filesystem/example/test/build.bat create mode 100755 src/boost/libs/filesystem/example/test/build.sh create mode 100644 src/boost/libs/filesystem/example/test/setup.bat create mode 100755 src/boost/libs/filesystem/example/test/setup.sh (limited to 'src/boost/libs/filesystem/example/test') 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 + /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 : . ; +install tut2-copy : tut2 : . ; +install tut3-copy : tut3 : . ; +install tut4-copy : tut4 : . ; +install tut5-copy : tut5 : . ; +install path_info-copy : path_info : . ; + 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 +grep "error" 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 + -- cgit v1.2.3