diff options
Diffstat (limited to 'src/boost/libs/filesystem/example/test')
-rw-r--r-- | src/boost/libs/filesystem/example/test/Jamfile.v2 | 29 | ||||
-rw-r--r-- | src/boost/libs/filesystem/example/test/build.bat | 7 | ||||
-rwxr-xr-x | src/boost/libs/filesystem/example/test/build.sh | 8 | ||||
-rw-r--r-- | src/boost/libs/filesystem/example/test/setup.bat | 13 | ||||
-rwxr-xr-x | src/boost/libs/filesystem/example/test/setup.sh | 19 |
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 + |