Skip to content

Commit

Permalink
bit7z build works
Browse files Browse the repository at this point in the history
  • Loading branch information
gbook committed May 6, 2024
1 parent 3207d97 commit 1e77658
Show file tree
Hide file tree
Showing 237 changed files with 11 additions and 26,802 deletions.
1 change: 0 additions & 1 deletion bit7z/BUILD.txt

This file was deleted.

Empty file modified bit7z/LICENSE
100755 → 100644
Empty file.
Empty file modified bit7z/README.md
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bit7z.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bit7zlibrary.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitabstractarchivecreator.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitabstractarchivehandler.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitabstractarchiveopener.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitarchiveeditor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitarchiveitem.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitarchiveiteminfo.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitarchiveitemoffset.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitarchivereader.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitarchivewriter.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitcompressionlevel.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitcompressionmethod.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitcompressor.hpp
100755 → 100644
Empty file.
11 changes: 7 additions & 4 deletions bit7z/include/bit7z/bitdefines.hpp
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* and you can't enable them via CMake. */
//#define BIT7Z_AUTO_FORMAT
//#define BIT7Z_AUTO_PREFIX_LONG_PATHS
//#define BIT7Z_DISABLE_USE_STD_FILESYSTEM
//#define BIT7Z_REGEX_MATCHING
//#define BIT7Z_USE_STD_BYTE
//#define BIT7Z_USE_NATIVE_STRING
Expand All @@ -26,11 +27,13 @@
# define BIT7Z_CPP_STANDARD 11
#endif

#if defined( __cpp_lib_filesystem )
# define BIT7Z_USE_STANDARD_FILESYSTEM
#elif BIT7Z_CPP_STANDARD >= 17 && defined( __has_include )
# if __has_include( <filesystem> )
#ifndef BIT7Z_DISABLE_USE_STD_FILESYSTEM
# if defined( __cpp_lib_filesystem )
# define BIT7Z_USE_STANDARD_FILESYSTEM
# elif BIT7Z_CPP_STANDARD >= 17 && defined( __has_include )
# if __has_include( <filesystem> )
# define BIT7Z_USE_STANDARD_FILESYSTEM
# endif
# endif
#endif

Expand Down
Empty file modified bit7z/include/bit7z/biterror.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitexception.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitextractor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitfilecompressor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitfileextractor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitformat.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitfs.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitgenericitem.hpp
100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions bit7z/include/bit7z/bitinputarchive.hpp
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,14 @@ class BitInputArchive {
*
* @return a reference to the pointed-to element in the archive.
*/
auto operator*() noexcept -> reference;
auto operator*() const noexcept -> reference;

/**
* @brief Accesses the pointed-to element in the archive.
*
* @return a pointer to the pointed-to element in the archive.
*/
auto operator->() noexcept -> pointer;
auto operator->() const noexcept -> pointer;

private:
BitArchiveItemOffset mItemOffset;
Expand Down
Empty file modified bit7z/include/bit7z/bititemsvector.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitmemcompressor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitmemextractor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitoutputarchive.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitpropvariant.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitstreamcompressor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitstreamextractor.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bittypes.hpp
100755 → 100644
Empty file.
Empty file modified bit7z/include/bit7z/bitwindows.hpp
100755 → 100644
Empty file.
Binary file removed bit7z/lib/x64/Debug/bit7z.lib
Binary file not shown.
Binary file removed bit7z/lib/x64/Debug/bit7z.pdb
Binary file not shown.
Binary file removed bit7z/lib/x64/Release/bit7z.lib
Binary file not shown.
Binary file modified bit7z/lib/x64/libbit7z64.a
100755 → 100644
Binary file not shown.
Binary file removed bit7z/lib/x64/libbit7z64_d.a
Binary file not shown.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ else
BUILDDIR=$3
fi

BIT7ZDIR=$PWD/bit7z
ORIGDIR=$PWD

# this script requires make, cmake (3), and qmake
Expand Down Expand Up @@ -52,7 +53,7 @@ fi

# ----- build bit7z library -----
echo -e "\n ----- Building bit7z -----\n"
mkdir -p $BIT7ZDIR/bbuild
mkdir -p $BIT7ZDIR/build
cd $BIT7ZDIR/build
cmake .. -DBIT7Z_AUTO_FORMAT:BOOL=ON -DBIT7Z_USE_LEGACY_IUNKNOWN=ON -DBIT7Z_GENERATE_PIC=ON -DCMAKE_CXX_FLAGS:STRING=-fPIC -DCMAKE_C_FLAGS:STRING=-fPIC
cmake --build . --config Release
Expand Down
7 changes: 0 additions & 7 deletions src/bit7z/.github/FUNDING.yml

This file was deleted.

182 changes: 0 additions & 182 deletions src/bit7z/.github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

1 change: 0 additions & 1 deletion src/bit7z/.github/ISSUE_TEMPLATE/config.yml

This file was deleted.

28 changes: 0 additions & 28 deletions src/bit7z/.github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

27 changes: 0 additions & 27 deletions src/bit7z/.github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

Loading

0 comments on commit 1e77658

Please sign in to comment.