mirror of
https://github.com/boostorg/endian.git
synced 2025-08-02 14:04:29 +02:00
Finalize installation instructions for review candidates
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74233 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
@@ -1,22 +1,19 @@
|
|||||||
[Faster] To copy the library into an existing boost subversion checkout, do
|
Installation of a review candidate
|
||||||
the following, replacing "BOOST" with the path of the boost checkout:
|
==================================
|
||||||
|
|
||||||
svn export --force http://svn.boost.org/svn/boost/sandbox/endian BOOST
|
1) Download the .zip distribution file. Move it to, say, /temp, and unzip it there.
|
||||||
|
That will result in a directory in /temp named endian-rc#, where # is the number of the
|
||||||
|
review candidate.
|
||||||
|
|
||||||
[Slower] To install with an export of the Boost trunk, do the following
|
2) If you haven't already done so, install a current version of Boost.
|
||||||
in the directory where you want the resulting endian directory:
|
Since Boost.Endian is a header only library, there is no need to run a build.
|
||||||
|
|
||||||
|
3) Copy the endian files to your Boost installation (replace MY-BOOST with its path):
|
||||||
|
|
||||||
mkdir endian
|
Windows: xcopy /s /i \temp\endian-rc#\* MY-BOOST
|
||||||
svn co http://svn.boost.org/svn/boost/sandbox/endian endian
|
POSIX: cp -r /temp/endian-rc#/* MY-BOOST
|
||||||
svn export --force http://svn.boost.org/svn/boost/trunk endian
|
|
||||||
|
4) Run the tests (as a confidence builder that the install went OK):
|
||||||
Boost.Endian is a header only library, so the library is ready to go
|
|
||||||
without running a build.
|
|
||||||
|
|
||||||
To run the tests:
|
|
||||||
|
|
||||||
cd endian/libs/endian/test
|
cd MY-BOOST/endian/libs/endian/test
|
||||||
bjam
|
bjam
|
||||||
|
|
||||||
Copyright Beman Dawes 2011
|
|
||||||
Distributed under the Boost Software License, Version 1.0. See http://www.boost.org/LICENSE_1_0.txt
|
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
echo create zip file...
|
echo create zip file...
|
||||||
|
echo must be run from libs\endian directory
|
||||||
|
|
||||||
if $%1 == $ goto error
|
if $%1 == $ goto error
|
||||||
|
|
||||||
@@ -6,28 +7,19 @@ rmdir /s \temp\%1 2>nul
|
|||||||
pushd .
|
pushd .
|
||||||
mkdir \temp\%1
|
mkdir \temp\%1
|
||||||
cd \temp\%1
|
cd \temp\%1
|
||||||
md doc\html
|
md boost\endian\detail
|
||||||
md boost\integer
|
md libs\endian\doc
|
||||||
md libs\integer\doc
|
md libs\endian\example
|
||||||
md libs\integer\example
|
md libs\endian\test
|
||||||
md libs\integer\test
|
|
||||||
popd
|
popd
|
||||||
copy ..\..\boost.png \temp\%1
|
copy ..\..\boost\endian\*.hpp \temp\%1\boost\endian
|
||||||
copy ..\..\doc\html\minimal.css \temp\%1\doc\html
|
copy ..\..\boost\endian\detail\*.hpp \temp\%1\boost\endian\detail
|
||||||
copy ..\..\boost\binary_stream.hpp \temp\%1\boost
|
copy ..\..\libs\endian\index.html \temp\%1\libs\endian
|
||||||
copy ..\..\boost\integer\endian.hpp \temp\%1\boost\integer
|
copy ..\..\libs\endian\INSTALL \temp\%1\libs\endian
|
||||||
copy ..\..\boost\integer\endian_binary_stream.hpp \temp\%1\boost\integer
|
copy ..\..\libs\endian\doc\*.html \temp\%1\libs\endian\doc
|
||||||
copy ..\..\boost\integer\cover_operators.hpp \temp\%1\boost\integer
|
copy ..\..\libs\endian\example\*.cpp \temp\%1\libs\endian\example
|
||||||
copy ..\..\libs\integer\doc\endian.html \temp\%1\libs\integer\doc
|
copy ..\..\libs\endian\test\Jamfile.v2 \temp\%1\libs\endian\test
|
||||||
copy ..\..\libs\integer\example\endian_example.cpp \temp\%1\libs\integer\example
|
copy ..\..\libs\endian\test\*.cpp \temp\%1\libs\endian\test
|
||||||
copy ..\..\libs\integer\example\endian_hello_world.cpp \temp\%1\libs\integer\example
|
|
||||||
copy ..\..\libs\integer\test\endian_test.cpp \temp\%1\libs\integer\test
|
|
||||||
copy ..\..\libs\integer\test\binary_stream_test.cpp \temp\%1\libs\integer\test
|
|
||||||
copy ..\..\libs\integer\test\endian_binary_stream_test.cpp \temp\%1\libs\integer\test
|
|
||||||
copy ..\..\libs\integer\test\endian_in_union_test.cpp \temp\%1\libs\integer\test
|
|
||||||
copy ..\..\libs\integer\test\endian_operations_test.cpp \temp\%1\libs\integer\test
|
|
||||||
copy ..\..\libs\integer\test\scoped_enum_emulation_test.cpp \temp\%1\libs\integer\test
|
|
||||||
copy ..\..\libs\integer\test\Jamfile.* \temp\%1\libs\integer\test
|
|
||||||
|
|
||||||
pushd \temp
|
pushd \temp
|
||||||
zip -r %1.zip %1
|
zip -r %1.zip %1
|
||||||
@@ -39,6 +31,6 @@ goto done
|
|||||||
:error
|
:error
|
||||||
echo usage: zip-endian version
|
echo usage: zip-endian version
|
||||||
echo version will be used for both the .zip name and the highest level directory name
|
echo version will be used for both the .zip name and the highest level directory name
|
||||||
echo example: zip-endian endian-1.0
|
echo example: zip-endian endian-rc1
|
||||||
|
|
||||||
:done
|
:done
|
Reference in New Issue
Block a user