Nick Terrell
a4eac0db29
Update build scripts
2017-09-05 17:10:29 -07:00
Yann Collet
b0cb081dc8
last batch of header files changed to reflect new license ( #825 )
...
only remains to update contrib/linux-kernel (@terrelln)
2017-08-31 12:20:50 -07:00
Yann Collet
e21384fffb
fixed more file headers after license change ( #825 )
2017-08-31 12:11:57 -07:00
Yann Collet
e9dc204f42
fixed a bunch of headers after license change ( #825 )
2017-08-31 11:24:54 -07:00
Jacques Germishuys
c325c8db82
fix missing symbol 'nanosleep' for Solaris
2017-07-11 19:26:10 +02:00
Yann Collet
ef269c1b68
Merge pull request #725 from facebook/advancedAPI2
...
New Advanced API
2017-06-23 09:50:47 -07:00
Yann Collet
008d44ad66
fix attempt : fullbench VS2008 project
2017-06-19 17:45:43 -07:00
Yann Collet
fe234bf48b
fix attempts : fullbench for VS2008
2017-06-19 15:23:19 -07:00
cyan4973
51235393e3
fixed fullbench project for VS2010+
2017-06-04 22:06:25 -07:00
Paul Cruz
fa398bbed7
added back documentation/notification for VS2005 in build directory
2017-06-02 10:25:30 -07:00
Paul Cruz
0ff9873324
Removed VS2005 from the list of included projects
2017-06-02 10:11:03 -07:00
Paul Cruz
6dc508539c
Moved VS2005 to the contrib directory
2017-06-01 21:18:48 -07:00
codicodi
e87cad1053
CMake improvements
2017-05-24 10:56:35 +02:00
Yann Collet
d0b1846cf4
ignore more cmake build artefacts
2017-04-21 10:59:36 -07:00
Michael Maltese
9eda436733
CMake: don't modify global C_FLAGS and CXX_FLAGS
2017-04-20 19:30:38 -07:00
Michael Maltese
377401f161
CMake: don't recheck compile flags every time
...
Doesn't cause a problem when embedded within a larger project, but is
annoying.
2017-04-20 19:30:38 -07:00
Michael Maltese
554a13dd4b
CMake: various configure_file fixes to use CMAKE_CURRENT_SOURCE_DIR
2017-04-20 19:30:38 -07:00
Michael Maltese
7f1fb95566
CMake: namespace modules and set CMAKE_MODULE_PATH
2017-04-20 19:30:37 -07:00
Michael Maltese
1a96bec8db
CMake: Set ZSTD_SOURCE_DIR from CMAKE_CURRENT_SOURCE_DIR
...
Instead of CMAKE_SOURCE_DIR, which is not correct when embedding Zstd
within a larger project.
2017-04-20 15:56:53 -07:00
Milan Ševčík
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
Milan Ševčík
cba4e79a93
Create and install pkg-config file with cmake
2017-04-19 21:34:17 +02:00
Milan Ševčík
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
Milan Ševčík
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
Sean Purcell
5a61f36474
Make zstd compile with mt by default
2017-04-17 12:06:02 -07:00
Yann Collet
3d58a1f9b9
fixed Visual fuzzer project
2017-03-30 12:28:09 -07:00
Yann Collet
2bcefcc50d
fixed Visual Studio projects
2017-03-29 22:03:27 -07:00
Yann Collet
35fc66f257
updated .gitignore for new cmake script
2017-03-21 17:52:42 -07:00
Sean Purcell
f7a78609e7
CMake: Fix version parsing and allow Unix flags on Clang
2017-03-21 13:44:33 -07:00
Milan Ševčík
5b3a9cbed2
Remove multithreading support by default on non UNIX platforms
2017-03-21 13:00:05 +01:00
Milan Ševčík
a2286a333c
Install zstdcat and unzstd symlinks by cmake
2017-03-21 11:11:53 +01:00
Milan Ševčík
01d7ea27e9
Added options for building programs, static library and tests
2017-03-21 11:11:53 +01:00
Milan Ševčík
16f771dfb1
Install forgotten zstdmt tool and zstd.1 man page
2017-03-21 11:11:53 +01:00
Milan Ševčík
f0076adccb
Add_extra_compilation_flags macro needs to run before adding sources
...
Also adding comments in the top-level CMakeLists.txt
2017-03-21 11:11:53 +01:00
Milan Ševčík
b98b6fcf41
Check for pthreads library
2017-03-21 11:11:45 +01:00
Milan Ševčík
0d3daffa2f
Much easier way of installing libraries with correct names
2017-03-21 10:43:11 +01:00
Milan Ševčík
c2430434df
Install everything, not only libraries
2017-03-21 10:43:11 +01:00
Milan Ševčík
ce11d77e4d
Use shared library in programs
2017-03-21 10:43:11 +01:00
Milan Ševčík
0184d80e8e
Refactored AddExtraCompilationFlags
...
- Easier addition of new flags
- Removed flags not used by default
- Removed implicit PIC flag for all targets
2017-03-21 10:43:08 +01:00
Milan Ševčík
56ef200fcb
.gitignore only build directory
2017-03-21 10:38:48 +01:00
Milan Ševčík
e8517a95f3
Add build documentation by gen_html
2017-03-21 10:38:48 +01:00
Milan Ševčík
c03d7b898d
Cleanup lib rules
2017-03-21 10:38:48 +01:00
Milan Ševčík
623baf513e
Move GetLibraryVersion function to its own module file
2017-03-21 10:38:48 +01:00
Milan Ševčík
8013c86c7d
Improve resolving ROOT_DIR
2017-03-21 10:38:46 +01:00
Sean Purcell
120df494e9
Update builds to not support legacy v01-v03
2017-03-13 14:44:08 -07:00
Milan Ševčík
4b62f41969
Added compile flags to pzstd
...
Definition NDEBUG from original Makefile
-Wno-shadow silences shadowing in initializers
2017-02-28 10:57:09 +01:00
Milan Ševčík
eeb080e601
-Wstrict-prototypes is not supported with C++
2017-02-28 10:57:09 +01:00
Milan Ševčík
5a1cc5c22d
Improve handling of library symlinks.
...
Previous method was failing to remove the symlinks when make clean was
invoked and wasn't portable.
2017-02-28 10:57:09 +01:00
Milan Ševčík
bf8a30ce0d
Add zstdmt target in cmake
2017-02-28 10:57:09 +01:00
Milan Ševčík
59709d97d9
Support building contrib utils from cmake
2017-02-28 10:57:09 +01:00
Yann Collet
cc3d1bc262
Merge pull request #525 from terrelln/covermt
...
Multithreaded COVER dictionary training
2017-01-30 10:15:33 -08:00
Nick Terrell
90db3afdee
Fix typos in VS2010 build config
2017-01-27 17:32:16 -08:00
Nick Terrell
6570167f8b
Fix VS fuzzer build configs
2017-01-27 13:56:41 -08:00
Nick Terrell
8959910412
Add threading and pool to build configs
2017-01-27 12:29:27 -08:00
Nick Terrell
1f1a336241
Fix cmake build
2017-01-27 10:27:29 -08:00
Nick Terrell
9aa1aa13c1
Fix Visual Studios project
2017-01-26 16:52:47 -08:00
Yann Collet
d7e3cb58c5
Resolved merge conflict dev+zstdmt
2017-01-20 16:44:50 -08:00
cyan4973
f0ffa237da
fixed VS2008 project
2017-01-20 15:24:06 -08:00
cyan4973
326575c3a3
fixed VS2010 project
2017-01-20 14:49:44 -08:00
Nick Terrell
9103ed6c8b
Add cover.c to build files
2017-01-02 13:22:53 -08:00
Yann Collet
747452677d
fixed cmake tests
2017-01-02 02:05:45 +01:00
Yann Collet
0d7e84899f
Merge pull request #489 from inikep/v112
...
improved detection of POSIX
2016-12-21 16:42:46 +01:00
Yann Collet
d2ccf180d3
Merge pull request #492 from inikep/dev11
...
test CMake on Windows
2016-12-21 11:23:04 +01:00
Jacques Germishuys
85a150eab7
cmake msvc: resources are not required for the static library
2016-12-19 14:15:47 +02:00
Jacques Germishuys
95ff9a1ed7
cmake msvc: correct resources
2016-12-19 10:50:48 +02:00
Przemyslaw Skibinski
6914864f40
updated libzstd-dll.rc
2016-12-19 09:47:45 +01:00
Przemyslaw Skibinski
08e8d30d1b
fixed CMake compilation with Visual Studio
2016-12-19 09:28:55 +01:00
Przemyslaw Skibinski
f8046b8e72
Merge remote-tracking branch 'refs/remotes/facebook/dev' into v112
...
# Conflicts:
# appveyor.yml
2016-12-19 08:20:26 +01:00
Nick Terrell
8de46ab51a
Export all API functions
2016-12-16 13:27:30 -08:00
Przemyslaw Skibinski
0a1caeef6d
VS: fixed 32-bit DLL compilation
2016-12-15 12:12:46 +01:00
Przemyslaw Skibinski
6323d0050f
VS projects: restored zbuff for libzstd*
2016-12-08 09:06:00 +01:00
Yann Collet
1628fe08fc
cmake : SHARED_LIBRARY_OUTPUT_NAME is user-selectable, by @aparamon ( #469 )
2016-12-06 13:45:42 -08:00
Yann Collet
a0d4031e7c
fixed cmake build
2016-12-06 09:46:14 +01:00
Yann Collet
73ab42252b
fixed zbuff in VS2005 projects
2016-12-06 09:08:43 +01:00
Yann Collet
825dffbc43
moved zbuff source files into lib/deprecated
2016-12-05 19:28:19 -08:00
Przemyslaw Skibinski
eec700a3b7
exclude zbuff_compress.c and zbuff_decompress.c
2016-11-21 14:34:03 +01:00
Przemyslaw Skibinski
cc3887085f
updated build\README.md
2016-11-21 13:58:58 +01:00
Przemyslaw Skibinski
4d04f9275f
VC projects: removed ZBUFF references
2016-11-21 12:33:10 +01:00
Przemyslaw Skibinski
179555c1d1
working fullbench-dll
2016-11-15 18:05:46 +01:00
Przemyslaw Skibinski
fbcd862f26
added fullbench-dll
2016-11-15 17:29:15 +01:00
Przemyslaw Skibinski
9d4e8f694e
removed _x86 and _x64
2016-11-15 17:28:49 +01:00
Przemyslaw Skibinski
f00e66a63d
restore all Travis tests
2016-11-14 18:07:17 +01:00
Przemyslaw Skibinski
9f26f72f97
added libzstd-dll
2016-11-14 16:14:18 +01:00
Przemyslaw Skibinski
b5d423b6c2
zstdlib renamed to libzstd
2016-11-14 15:56:50 +01:00
Przemyslaw Skibinski
c779778950
updated IntDir and OutDir
2016-11-14 15:56:26 +01:00
Przemyslaw Skibinski
c89c74ee91
updated .gitignore
2016-11-14 13:41:18 +01:00
Przemyslaw Skibinski
76d66dffd0
generate_res moved to programs/windres
2016-10-28 13:16:06 +02:00
Przemyslaw Skibinski
86dc7223e9
generate_res.bat: automatic detection if windres.exe is available
2016-10-28 12:20:02 +02:00
Przemyslaw Skibinski
3575fcf28e
updated build\VS2010\zstd\generate_res\verrsrc.h
2016-10-28 11:54:47 +02:00
Przemyslaw Skibinski
347903cfb5
Windows resources moved to programs/windres/
2016-10-25 10:34:41 +02:00
Yann Collet
e405c7a126
updated visual projects
2016-10-12 15:29:22 -07:00
Yann Collet
8b70d012f0
fix cmake
2016-10-12 10:23:53 -07:00
inikep
447212d07c
RES files for zstd 1.1.0
2016-09-28 12:23:07 +02:00
Christophe Chevalier
bb85fe064d
Update .gitignore for new location of msbuild projects
...
It seems that when the projects folder was moved to the new path in cfe5fe4581
, the `build/bin` was changed to `build/` instead of `bin/` and building makes a lot of stuff show up in git.
2016-09-23 21:47:27 +02:00
Christophe Chevalier
c9e2ccd8c9
Add legacy support for VS2005 solution
...
- define ZSTD_LEGACY_SUPPORT to 1
- do not define ZSTD_HEAPMODE
2016-09-23 15:48:34 +02:00
Christophe Chevalier
f18703e896
Add legacy support for VS2008 solution
...
- define ZSTD_LEGACY_SUPPORT to 1
- do not define ZSTD_HEAPMODE
2016-09-23 15:46:21 +02:00
Christophe Chevalier
faa3fd34a7
Fix for Issue #379 - add legacy support to VS2010 sln
...
- set ZSTD_LEGACY_SUPPORT to 1
- Do not define ZSTD_HEADMODE (which will be fallback to 1)
2016-09-23 15:40:33 +02:00
Yann Collet
dbe70bad48
completed change from projects to build
2016-09-19 15:08:43 +02:00
Yann Collet
4c9a4c18a9
changed projects to build
2016-09-19 14:58:14 +02:00