befcec1788
fix cmake recipe
2024-01-29 15:45:16 -08:00
253873220f
Fixed zstd cmake shared build on windows
2023-08-27 16:51:24 +02:00
5d693cc38c
Coalesce Almost All Copyright Notices to Standard Phrasing
...
```
for f in $(find . \( -path ./.git -o -path ./tests/fuzz/corpora -o -path ./tests/regression/data-cache -o -path ./tests/regression/cache \) -prune -o -type f); do sed -i '/Copyright .* \(Yann Collet\)\|\(Meta Platforms\)/ s/Copyright .*/Copyright (c) Meta Platforms, Inc. and affiliates./' $f; done
git checkout HEAD -- build/VS2010/libzstd-dll/libzstd-dll.rc build/VS2010/zstd/zstd.rc tests/test-license.py contrib/linux-kernel/test/include/linux/xxhash.h examples/streaming_compression_thread_pool.c lib/legacy/zstd_v0*.c lib/legacy/zstd_v0*.h
nano ./programs/windres/zstd.rc
nano ./build/VS2010/zstd/zstd.rc
nano ./build/VS2010/libzstd-dll/libzstd-dll.rc
```
2022-12-20 12:52:34 -05:00
7f12f24cf4
Rewrite Copyright Date Ranges from -present
to -2022
...
Apparently it's better. Somehow.
```
for f in $(find . \( -path ./.git -o -path ./tests/fuzz/corpora -o -path ./tests/regression/data-cache -o -path ./tests/regression/cache \) -prune -o -type f); do echo $f; sed -i 's/\-present/-2022/' $f; done
g co HEAD -- build/meson/
```
2022-12-20 12:44:56 -05:00
8927f985ff
Update Copyright Headers 'Facebook' -> 'Meta Platforms'
...
```
for f in $(find . \( -path ./.git -o -path ./tests/fuzz/corpora \) -prune -o -type f);
do
sed -i 's/Facebook, Inc\./Meta Platforms, Inc. and affiliates./' $f;
done
```
2022-12-20 12:37:57 -05:00
70df5de1b2
AsyncIO compression part 1 - refactor of existing asyncio code ( #3021 )
...
* Refactored fileio.c:
- Extracted asyncio code to fileio_asyncio.c/.h
- Moved type definitions to fileio_types.h
- Moved common macro definitions needed by both fileio.c and fileio_asyncio.c to fileio_common.h
* Bugfix - rename fileio_asycio to fileio_asyncio
* Added copyrights & license to new files
* CR fixes
2022-01-24 14:43:02 -08:00
abc1a91fe2
add missing BUNDLE DESTINATION
...
fixes build on iOS
2021-09-29 08:27:12 +02:00
2636f53619
CMake: Enable only C for lib and programs projects
2021-02-07 19:39:04 -05:00
54a4998a80
Add basic tracing functionality
2021-02-05 16:28:52 -08:00
57a311d3b7
Consider ZSTD_PROGRAMS_LINK_SHARED
...
Actually consider ZSTD_PROGRAMS_LINK_SHARED in programs CMakeLists
2019-10-29 14:33:50 +01:00
4607f80f5a
Don't hardcode installation directories in CMakeLists.txt
...
Use paths provided by GNUInstallDirs module instead.
2019-09-16 11:36:37 +03:00
b26818fe73
Merge pull request #1626 from LeeYoung624/dev
...
add cmake lz4 support
2019-06-19 13:35:33 -07:00
a4c0c27410
Install zstdless & zstdgrep as 'PROGRAMS' in CMake
2019-06-12 09:57:28 +08:00
b31df043a0
add cmake lz4 support
...
add some instructions for build/cmake/README.md
2019-06-03 18:22:50 +08:00
2c6b14ed22
fixed Windows header
...
cmake build script: added timefn
2019-04-10 14:54:13 -07:00
d3fc848ddd
STYLE: Remove CMake-language block-end command arguments
...
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the block.
This is no longer the preferred style.
2018-12-22 19:32:39 -06:00
2f1ff84119
STYLE: Convert CMake-language commands to lower case
...
Ancient CMake versions required upper-case commands. Later command names
became case-insensitive. Now the preferred style is lower-case.
2018-12-22 19:32:39 -06:00
f15312e884
fixed cmake build script
2018-11-13 13:16:41 -08:00
2b4914082e
created zstd_decompress_block module
...
isolate all logic associated with block decompression
into its own module.
zstd_decompress is still in charge
of context creation/destruction,
frames, headers, streaming, special blocks, etc.
Compressed blocks themselves are now handled within zstd_decompress_block .
2018-10-25 16:28:41 -07:00
f2cff22804
Merge pull request #1368 from rkjain89/test-branch
...
Moving Code To util.c
2018-10-19 16:31:10 -07:00
490f652974
Add man pages for zstdgrep and zstdless
2018-10-15 22:25:03 +13:00
b91f982e1e
Adding chagnes for cmake and VStudio
2018-10-12 14:08:13 -07:00
268cc2a516
Fix CMake build
...
`MAN_INSTALL_DIR` was undefined.
Tested with `make cmakebuild`, and saw that the man pages got installed to the right place:
```
-- Installing: /Users/terrelln/install_test_dir/lib/pkgconfig/libzstd.pc
-- Installing: /Users/terrelln/install_test_dir/include/zstd.h
-- Installing: /Users/terrelln/install_test_dir/include/zbuff.h
-- Installing: /Users/terrelln/install_test_dir/include/zdict.h
-- Installing: /Users/terrelln/install_test_dir/include/zstd_errors.h
-- Installing: /Users/terrelln/install_test_dir/lib/libzstd.1.3.4.dylib
-- Installing: /Users/terrelln/install_test_dir/lib/libzstd.dylib
-- Installing: /Users/terrelln/install_test_dir/lib/libzstd.a
-- Installing: /Users/terrelln/install_test_dir/bin/zstd
-- Up-to-date: /Users/terrelln/install_test_dir/bin/zstd
-- Installing: /Users/terrelln/install_test_dir/bin/zstdcat
-- Installing: /Users/terrelln/install_test_dir/bin/unzstd
-- Installing: /Users/terrelln/install_test_dir/share/man/man1/zstd.1
-- Installing: /Users/terrelln/install_test_dir/share/man/man1/zstdcat.1
-- Installing: /Users/terrelln/install_test_dir/share/man/man1/unzstd.1
-- Installing: /Users/terrelln/install_test_dir/bin/zstdmt
-- Installing: /Users/terrelln/install_test_dir/bin/pzstd
-- Installing: /Users/terrelln/install_test_dir/zstd_manual.html
```
2018-03-26 14:59:26 -07:00
0034c759b0
Update man page variables in CMakeLists
2018-03-21 14:10:42 +05:30
22303da601
CMake: fixed multithreading build on Windows
...
`ZSTD_MULTITHREAD_SUPPORT` option fixed for Windows.
Signed-off-by: Alexey Ivanov <alexey.ivanes@gmail.com >
2018-01-17 10:27:52 +03:00
e21384fffb
fixed more file headers after license change ( #825 )
2017-08-31 12:11:57 -07:00
c325c8db82
fix missing symbol 'nanosleep' for Solaris
2017-07-11 19:26:10 +02:00
e87cad1053
CMake improvements
2017-05-24 10:56:35 +02:00
d0b1846cf4
ignore more cmake build artefacts
2017-04-21 10:59:36 -07:00
eb7371f179
Change all SET_TARGET_PROPERTIES to SET_PROPERTY
...
SET_PROPERTY function can append to lists, whereas previously used
SET_TARGET_PROPERTIES cannot.
2017-04-19 21:34:17 +02:00
fce21777bd
Copy files during build phase, custom targets instead of commands
...
Previously some files were copied only during configure phase.
Custom targets seem nicer.
2017-04-19 21:34:17 +02:00
522df42e10
Add lzma and zlib support to cmake build system
...
cmake 2.8.9 needed for FindLibLZMA
2017-04-19 21:34:17 +02:00
5a61f36474
Make zstd compile with mt by default
2017-04-17 12:06:02 -07:00
a2286a333c
Install zstdcat and unzstd symlinks by cmake
2017-03-21 11:11:53 +01:00
16f771dfb1
Install forgotten zstdmt tool and zstd.1 man page
2017-03-21 11:11:53 +01:00
b98b6fcf41
Check for pthreads library
2017-03-21 11:11:45 +01:00
c2430434df
Install everything, not only libraries
2017-03-21 10:43:11 +01:00
ce11d77e4d
Use shared library in programs
2017-03-21 10:43:11 +01:00
8013c86c7d
Improve resolving ROOT_DIR
2017-03-21 10:38:46 +01:00
bf8a30ce0d
Add zstdmt target in cmake
2017-02-28 10:57:09 +01:00
1f1a336241
Fix cmake build
2017-01-27 10:27:29 -08:00
747452677d
fixed cmake tests
2017-01-02 02:05:45 +01:00
08e8d30d1b
fixed CMake compilation with Visual Studio
2016-12-19 09:28:55 +01:00
4c9a4c18a9
changed projects to build
2016-09-19 14:58:14 +02:00