Commit Graph

34 Commits

Author SHA1 Message Date
vrqq
90e5f76687
Fix issue 362
Fixed: https://github.com/Cyan4973/xxHash/issues/362#issue-619394966
2020-05-16 15:43:29 +08:00
easyaspi314 (Devin)
87e7d8b999 More typos, add some more documentation
- Remove most remaining spaces before punctuation
 - Fix a few missed copyright messages
 - Document the timer resolution workaround
 - Document XXH_mult32to64
   - I compiled GCC 3.2 and 4.2 just to test this, both are affected.
   - Make sure we downcast for __emulu
 - Other minor fixes
2020-03-03 12:10:19 -05:00
Yann Collet
a6c1ff95d9 updated a few links to https 2020-03-02 14:26:49 -08:00
Yann Collet
a642aba0f5 transferred implementation inside xxhash.h
instead of xxhash.c .

This seems preferable for some build systems,
which don't like the `#include "xxhash.c"` statement
when inlining xxhash, as reported by @pdillinger .

Note that `xxhash.c` still exists,
it just includes the implementation and instantiates it.
2019-11-04 16:04:28 -08:00
Yann Collet
a87e5908c7 hopefully fixed the Visual test on Appveyor
by using a custom variable XXHASH_C_FLAGS
as suggested by @wesm.
2019-09-10 10:53:58 -07:00
Stanislav Demyanovich
a6c986b00c Add CMake build types for single-configuration generators and set default build type to Release. 2019-07-30 19:36:48 +07:00
Stanislav Demyanovich
d493a8ad7f Update cmake_unofficial/README.md 2019-07-30 15:57:07 +07:00
Stanislav Demyanovich
1d2bccffc1 Fix/update CMake BUNDLED_MODE logic. 2019-07-30 14:44:49 +07:00
Stanislav Demyanovich
066c0f25dc Replace CMake build-related options with cache entries due to option() issues within CMake < 3.13 (CMP0077). 2019-07-30 13:03:35 +07:00
Stanislav Demyanovich
58591b0780 Decrease CMake version to 2.8.12 2019-07-28 19:07:22 +07:00
Stanislav Demyanovich
e6ae601b0c Add CMake Config. 2019-07-28 19:07:03 +07:00
Stanislav Demyanovich
655214fcdd Format CMakeLists.txt indentation. 2019-07-28 17:33:18 +07:00
Yann Collet
cb939e00dc add cmake test to Travis CI
fix #138
2019-07-25 17:03:25 -07:00
dnbaker
bd272b6191 Resolve. 2019-05-06 10:48:08 -04:00
Yann Collet
f780c0a336 updated CMakeFile .gitignore
ignore more generic extensions
2019-03-16 07:07:38 -07:00
Yann Collet
810f9d209b
Merge pull request #177 from Cyan4973/dev
v0.7.0
2019-03-15 10:15:30 -07:00
LambdAurora
3c28448546
Added missing condition to export symbols on Windows with CMake. 2019-02-12 22:29:57 +01:00
LambdAurora
1b0f7b371d
Added export of public symbols on Windows. 2019-02-12 22:15:58 +01:00
Alexander Gallego
bf5885caed cmake: add documentation for BUILD_ENABLE_INLINE_API
Add docs for Issue #163.
2019-01-09 16:58:47 -05:00
Alexander Gallego
1f066c3b33 cmake: enable build system integration with -DXXH_INLINE_ALL
currently the build system does not add xxhash.c to the includes
which prevents users from using the inline api.
2019-01-09 15:44:05 -05:00
Evan Nemerson
530ade1f59 cmake: rewrite based on LZ4's CMake support 2018-03-19 18:34:24 -07:00
Yann Collet
14705e3c61 cmake: dynamic determination of library version 2018-03-18 17:37:16 -07:00
Yann Collet
b2fad1787d added trailingWhitespace test as make target 2018-03-18 17:17:02 -07:00
Yann Collet
14ccc66a68 cmake : added option BUILD_SHARED_LIBS set to ON
fixes #111
2017-09-13 18:30:42 -07:00
Yann Collet
dfe202d792 minor readme formatting 2017-09-11 16:21:18 -07:00
Yann Collet
eb01a6f0a4 minor : added README in cmake directory to present its options
fix library version number
2017-09-11 15:50:02 -07:00
Chris Kitching
43fa796c21
Build xxhsum binary as well 2016-11-15 10:25:34 +00:00
Chris Kitching
5ab73ee822
Rely on BUILD_SHARED_LIBS instead of custom options
Instead of having your own option for choosing between static
and shared versions of the library, use cmake's built-in option
for this:
https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html

Set -DBUILD_SHARED_LIBS=ON to get a shared library, and omit it
or set it to OFF to get a static one.
Can add one extra line to the cmake file to make the default be
shared. Makes most of the cmake crap go away.
2016-11-15 10:17:36 +00:00
Chris Kitching
f89d036ed0
Declare options using option()
This has the very slight advantage of allowing cmake to provide
nice documentation of available options (such as in the cmake gui,
if used)
2016-11-15 10:07:41 +00:00
Boris Nagaev
359003ffe1 install .dll to bin/ instead of lib/
Add cmake option BUILD_SHARED_LIBS to prevent building shared library
on static target.
2016-07-08 10:50:08 +03:00
Roman Gershman
bfa9e5983c Install both static and dynamic libraries 2015-12-06 13:38:47 +02:00
Yann Collet
6a63377416 fixed : cmake installer 2015-08-17 13:08:55 +01:00
Fabian Kosmale
e0f9b7acb3 CMakeLists.txt: support installing files 2015-08-16 20:36:05 +02:00
Yann Collet
fb024c09e4 Added : cmake unofficial 2015-08-13 10:27:34 +01:00