Daniel Scharrer
a973a7ea6a
CMakeLists.txt: Use --verbose for make test
1 year ago
Daniel Scharrer
045f72a73d
CMake: Disable threads and enable UTF-8 for Boost.System
1 year ago
Daniel Scharrer
3a4b94c757
CMake: Use LLD if available
1 year ago
Daniel Scharrer
fa0205f778
CMake: Don't try to set policy CMP0167 with older CMake versions
1 year ago
Daniel Scharrer
8b052e7885
CMake: Respect CMAKE_POLICY_DEFAULT_CMP0167
1 year ago
Daniel Scharrer
b266694a70
CMake: Fix test build with CMake 3.0 to 3.11
1 year ago
Daniel Scharrer
cfad331471
CMake: Fix Boost static dependencies check
1 year ago
Daniel Scharrer
c940752ce7
CMake: Keep using FindBoost.cmake for now
1 year ago
Daniel Scharrer
2aa120ded7
CMake: Bump policy version to 3.31
1 year ago
Daniel Scharrer
d201562835
CMake: Fix unit test with older CMake versions
1 year ago
Daniel Scharrer
a1e7112aae
Add PBKDF2-SHA256 key derivation support
...
Required for Inno Setup 6.4.0
1 year ago
Daniel Scharrer
f478374208
Add XChaCha decryption support
...
Required for Inno Setup 6.4.0
1 year ago
Daniel Scharrer
d32cd56880
Rename USE_ARC4 to BUILD_DECRYPTION
1 year ago
Daniel Scharrer
2d58f41a64
Add SHA-256 hash support
...
Required for Inno Setup 6.4.0
1 year ago
Daniel Scharrer
f75953179d
sha1: Add unit test
1 year ago
Daniel Scharrer
a04b97b85d
md5: Add unit test
1 year ago
Daniel Scharrer
7a250f6b77
crc32: Add unit test
1 year ago
Daniel Scharrer
cd0f3c78f1
arc4: Add unit test
1 year ago
Daniel Scharrer
b7adff5f5a
adler32: Add unit test
1 year ago
Daniel Scharrer
6376c1ae30
Add a simple unit test framework
1 year ago
Daniel Scharrer
36ae51399d
cmake: Bump policy version to 3.19
4 years ago
Daniel Scharrer
89d75e45cb
CMake: Check that README.md is up to date
6 years ago
Daniel Scharrer
cf8d6a3a43
CMake: Fix build
6 years ago
Daniel Scharrer
a608bf59c4
CMake: Use shorter policy version syntax
7 years ago
Daniel Scharrer
b398a3f842
CMake: Remove automatic re-check of libraries
...
This relied on internal CMake variables and did not detected all
compiler and flag changes which could influence library search changes.
Users should clear the build directory when making such config changes.
7 years ago
Daniel Scharrer
b47f46102b
CMake: Remove library link checks
...
This was needed with older CMake versions to work around CMake searching
under lib with -m32 instead of under lib32 for platforms where lib
contains 64-bit binaries. This has since been fixed in CMake and users
of older CMake versions can add the lib32 directories to
CMAKE_LIBRARY_PATH to work around the issue on their end.
With newer CMake and Boost versions these checks fail because the
boost-config.cmake files shipped with Boost use imported targets instead
of library paths and try_compile does not add these imported targets to
the generated project.
See: https://gitlab.kitware.com/cmake/cmake/issues/11260
7 years ago
Daniel Scharrer
066c98a8aa
CMake: Update compatibility version
7 years ago
Daniel Scharrer
2654cc8510
CMake: Update compiler flags
7 years ago
Daniel Scharrer
23072f62a2
CMake: Define _GNU_SOURCE only for glibc
7 years ago
Daniel Scharrer
20b4585dbe
process: Use environ from unistd.h if available
7 years ago
Daniel Scharrer
33d6e1f551
CMake: Prefer static libraries even with NAMES_PER_DIR
...
This is required to find lib/libz.a if there is also a bin/zlib1.dll.
7 years ago
Daniel Scharrer
516a1563cb
CMake: Use boost_{zlib,bzip2} when statically linking Boost
...
The official Windows binaries for Boost come with these renamed versions
of the zlib and bzip2 libraries.
8 years ago
Daniel Scharrer
5d4b73e286
Fill in version number in man page from VERSION file
8 years ago
Daniel Scharrer
daa7047bcb
Add an ARC4 implementation
8 years ago
Daniel Scharrer
c47e9f31ba
encoding: Remove the ENABLE_BUILTIN_CONV option
...
There is no reason not to have this enabled.
8 years ago
Daniel Scharrer
322e625aca
CMake: Allow disabling C++17/14 while keeping C++11 enabled
8 years ago
Daniel Scharrer
d146fa04dd
CMake: Add DEBUG to user-visible configuration variables
8 years ago
Daniel Scharrer
726e7f0fbd
goggalaxy: Convert GOG Galaxy multi-part file information
...
Fixes: issue #58
8 years ago
Daniel Scharrer
9bd97a41f6
CMake: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
9 years ago
Daniel Scharrer
b6921fd277
CMake: Use PROJECT_BINARY_DIR instead of CMAKE_BINARY_DIR
9 years ago
Daniel Scharrer
5d54327b87
CMake: Use bswap builtins for MinGW
9 years ago
Daniel Scharrer
4cc47c37cb
CMake: Bump policy version to 3.4
10 years ago
Daniel Scharrer
6bb4302b0b
CMakeLists.txt: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
01705758dd
CMake: Disable variable expansion for quoted strings in if()
...
This makes the build system more rubust against stray variables
coming from included CMake scripts provided by the system.
Fixes build with CMake 3.5 (tested with 3.5.0-rc3).
Fixes: issue #50
10 years ago
Daniel Scharrer
6172782ef3
CMake: Document the STRICT_USE option
11 years ago
Daniel Scharrer
2da3c7a0ac
Add platform abstraction for running a process
11 years ago
Daniel Scharrer
f79a3c622b
Add support for dynamically loading utimensat
...
This allows adding utimensat support in binaries for systems like
FreeBSD that only recently got it without dropping support for older
versions.
11 years ago
Daniel Scharrer
46bd9dad26
Fix EKOPath build
11 years ago
Daniel Scharrer
9912507b5a
CMake: Detect we are using static libs for Boost
...
Previously we relied on the user to supply Boost_USE_STATIC_LIBS in
order to link Boost dependencies.
11 years ago
Daniel Scharrer
db84dd0a6b
Use __builtin_bswap16 when available
...
Also use configure checks for 32-bit and 64-bit variants instead of
relying on compiler version.
Fixes: issue #41
11 years ago