diff options
Diffstat (limited to 'windows')
-rw-r--r-- | windows/INSTALL-MSVC.txt | 44 | ||||
-rw-r--r-- | windows/INSTALL-MinGW-w64_with_Autotools.txt | 49 | ||||
-rw-r--r-- | windows/INSTALL-MinGW-w64_with_CMake.txt | 203 | ||||
-rw-r--r-- | windows/INSTALL-MinGW.txt | 138 | ||||
-rw-r--r-- | windows/README-Windows.txt | 116 | ||||
-rw-r--r-- | windows/build-with-cmake.bat | 35 | ||||
-rw-r--r-- | windows/build.bash | 209 | ||||
-rw-r--r-- | windows/liblzma-crt-mixing.txt | 70 | ||||
-rw-r--r-- | windows/vs2013/config.h | 157 | ||||
-rw-r--r-- | windows/vs2013/liblzma.vcxproj | 363 | ||||
-rw-r--r-- | windows/vs2013/liblzma_dll.vcxproj | 398 | ||||
-rw-r--r-- | windows/vs2013/xz_win.sln | 48 | ||||
-rw-r--r-- | windows/vs2017/config.h | 157 | ||||
-rw-r--r-- | windows/vs2017/liblzma.vcxproj | 363 | ||||
-rw-r--r-- | windows/vs2017/liblzma_dll.vcxproj | 398 | ||||
-rw-r--r-- | windows/vs2017/xz_win.sln | 48 | ||||
-rw-r--r-- | windows/vs2019/config.h | 157 | ||||
-rw-r--r-- | windows/vs2019/liblzma.vcxproj | 364 | ||||
-rw-r--r-- | windows/vs2019/liblzma_dll.vcxproj | 399 | ||||
-rw-r--r-- | windows/vs2019/xz_win.sln | 51 |
20 files changed, 543 insertions, 3224 deletions
diff --git a/windows/INSTALL-MSVC.txt b/windows/INSTALL-MSVC.txt index 2fdd1e7..ba483fb 100644 --- a/windows/INSTALL-MSVC.txt +++ b/windows/INSTALL-MSVC.txt @@ -5,41 +5,33 @@ Building XZ Utils with Microsoft Visual Studio Introduction ------------ + liblzma got MSVC support in XZ Utils 5.2.0, and the xz, xzdec, + lzmadec, and lzmainfo command line tools in XZ Utils 5.6.0. + + NOTE: The *.exe files are linked against GNU getopt_long from + the "lib" directory. That code is under the GNU LGPLv2.1 + and thus the matching source code must be provided when + distributing the *.exe files. The simplest way to comply with + the license requirements is to distribute the matching XZ Utils + source package alongside the *.exe files. + MSVC 2013 update 2 and later have enough C99 support to build liblzma from XZ Utils 5.2.0 and later without modifications. - Older MSVC versions would require a large number of changes to - the XZ Utils code and thus the old MSVC versions aren't supported. - As of 2015-06-19, some work has been done to get xz.exe and other - command line tools built with MSVC, but it's not complete enough - to be included in XZ Utils. + Visual Studio 2015 or later is required to build the command line + tools. Building -------- - It is recommended to use CMake to generate build files for MSVC. - The project files in vs201x directories will be removed in the - future (5.4.x releases will include them still). - - Descriptions of the files in the vs201x directories: - - config.h liblzma configuration #defines for MSVC. - liblzma.vcxproj This builds static liblzma. - liblzma_dll.vcxproj This builds liblzma.dll. - xz_win.sln Solution using the above project files. - - The projects have x86 and x86-64 platform configurations, as well - as a Debug, Release, and ReleaseMT configuration -- MT is the - compiler switch to link to the CRT statically, so it will not - have any other DLL dependencies. - - The VS2017 project files don't set <WindowsTargetPlatformVersion>. - This means that you may need to either install Windows SDK 8.1 or - you may need to set the target platform version before building. + Use CMake to generate build files for MSVC. Visual Studio project + files are no longer provided (XZ Utils 5.4.x were the last versions + to include the project files). - Currently no test programs are built or run under MSVC from the - project files. CMake-based builds include tests too. + NOTE: GCC and Clang compatible inline assembly isn't supported by + the MSVC compiler. Using clang-cl under MSVC should make inline + assembly work (untested). Notes diff --git a/windows/INSTALL-MinGW-w64_with_Autotools.txt b/windows/INSTALL-MinGW-w64_with_Autotools.txt new file mode 100644 index 0000000..89c7440 --- /dev/null +++ b/windows/INSTALL-MinGW-w64_with_Autotools.txt @@ -0,0 +1,49 @@ + +Creating XZ Utils Windows package with build.bash +================================================= + +Introduction +------------ + + The script build.bash can be used for building XZ Utils with + GCC + MinGW-w64 under MSYS2, under the ancient MSYS, or + cross-compiling from GNU/Linux. The script will create a package + with binaries and documentation in a hopefully-convenient bundle. + + NOTE: build.bash requires files that are only included + in release tarballs. If building from xz.git, a distribution + tarball should be created first. + + For native builds on Windows, the CMake-based build described + in the file INSTALL-MinGW-w64_with_CMake.txt is simpler to do as + it has no need for MSYS2 and it works from xz.git without extra + steps. For cross-compilation and package creation the script can + be convenient though. + + These instructions are for making a package with build.bash and thus + don't apply to normal Autotool-based builds under Cygwin or MSYS2. + + +Usage +----- + + First copy the file COPYING.MinGW-w64-runtime.txt from MinGW-w64 + to this directory. It contains copyright and license notices that + apply to the MinGW-w64 runtime that gets statically linked into + the XZ Utils binaries being built. build.bash will include the file + in the final package. + + Put i686 and/or x86_64 GCC-based toolchain in PATH depending on + which builds are wanted. + + Optional: Put the 7z tool from 7-Zip or p7zip in PATH. Without + this, .zip and .7z files won't be created from the finished "pkg" + directory contents. + + Run build.bash: + + bash windows/build.bash + + Note that it does an in-tree build so the build files will be mixed + with the source files in the same directory tree. + diff --git a/windows/INSTALL-MinGW-w64_with_CMake.txt b/windows/INSTALL-MinGW-w64_with_CMake.txt new file mode 100644 index 0000000..5d2be5b --- /dev/null +++ b/windows/INSTALL-MinGW-w64_with_CMake.txt @@ -0,0 +1,203 @@ + +Building XZ Utils on Windows using MinGW-w64 and CMake +====================================================== + + 1. Introduction + 1.1. Licensing considerations + 2. MSVCRT or UCRT + 3. CMake + 4. MinGW-w64 toolchains + 4.1. MinGW-w64 with GCC + 4.2. MinGW-w64 with Clang/LLVM + 5. Building XZ Utils + 5.1. Advanced build options + 6. Creating an import library for MSVC / Visual Studio + + +1. Introduction +--------------- + + This document explains how to build XZ Utils using MinGW-w64, + GCC or Clang/LLVM, CMake, and GNU make (mingw32-make) natively + on Windows. The resulting XZ Utils library and executable files + will only depend on DLLs that are included in Windows. + + The build tools can be extracted into separate directories and used + directly from there and deleted when no longer needed. There are no + installers to run for these and no configuration needed. + + These instructions don't apply to Cygwin. XZ Utils can be built + under Cygwin in the same way as many other packages. + + +1.1. Licensing considerations + + Parts of MinGW-w64 runtime are statically linked into the binaries + being built. The file COPYING.MinGW-w64-runtime.txt in MinGW-w64 + contains the license notices that apply to some parts of the + runtime. The notices must be distributed alongside the binaries + that have been built with MinGW-w64. + + MinGW-w64 includes getopt_long(). The GNU getopt_long() (LGPLv2.1) + included in XZ Utils isn't used when building with MinGW-w64. + + The code from XZ Utils that ends up liblzma.dll and the *.exe files + is under the BSD Zero Clause License (0BSD) which doesn't require + any copyright or license notices to be included when distributing + the binaries. See the file COPYING in the parent directory. + + +2. MSVCRT or UCRT +----------------- + + Both GCC and Clang/LLVM based MinGW-w64 toolchains come in MSVCRT + and Universal C runtime (UCRT) variants. MSVCRT is the old one. + 32-bit builds of XZ Utils with MSVCRT should run on Windows 2000 + and later (even Windows 95 should still be possible with trivial + edits to the source code). + + UCRT is included in Windows 10, and it's possible to install UCRT + on Windows XP and later. UCRT might be the preferred choice if + out-of-the-box compatibility with Windows versions older than 10 + is not required. Visual Studio 2015 and later produce binaries + that use UCRT. + + If you want to build liblzma.dll for use with your application, + it's recommended to use the same CRT for all components. If this + isn't possible, see the file liblzma-crt-mixing.txt. + + If you only need the command line tools, the choice of CRT isn't + important, at least for now. + + +3. CMake +-------- + + CMake is used for selecting build options and generating makefiles. + It can also be used to extract archives, including .tar.xz and .7z. + + Download a CMake binary package (.zip) from its homepage: + + https://cmake.org/download/ + + Extract it to, for example, C:\devel\cmake so that the executables + end up in C:\devel\cmake\bin. Avoid spaces and other special + characters in the path. + + +4. MinGW-w64 toolchains +----------------------- + + There are a few choices of prebuilt toolchains listed on + the MinGW-w64 homepage: + + https://www.mingw-w64.org/downloads/ + + These instructions list one GCC-based version and one + Clang/LLVM-based version. Both include mingw32-make too. + + +4.1. MinGW-w64 with GCC + + For GCC, download appropriate packages from Mingw-builds depending + on if you want to build 32-bit or 64-bit x86 version of XZ Utils + and if the XZ Utils binaries should link against MSVCRT or UCRT: + + https://github.com/niXman/mingw-builds-binaries/releases + + i686-*-release-win32-*-msvcrt-*.7z 32-bit, uses MSVCRT (old) + i686-*-release-win32-*-ucrt-*.7z 32-bit, uses UCRT (new) + x86_64-*-release-win32-*-msvcrt-*.7z 64-bit, uses MSVCRT (old) + x86_64-*-release-win32-*-ucrt-*.7z 64-bit, uses UCRT (new) + + Extract it, for example, to C:\devel so that the executables are + in C:\devel\mingw32\bin or C:\devel\mingw64\bin. To extract, + you can install 7-Zip from <https://7-zip.org/> or use CMake + on the command line: + + set PATH=C:\devel\cmake\bin;%PATH% + c: + cd \devel + cmake -E tar xf x86_64-13.1.0-release-win32-seh-ucrt-rt_v11-rev1.7z + + Then skip to the section "Building XZ Utils". + + +4.2. MinGW-w64 with Clang/LLVM + + For Clang/LLVM, download an appropriate package from LLVM-MinGW: + + https://github.com/mstorsjo/llvm-mingw/releases + + llvm-mingw-*-msvcrt-i686.zip 32-bit, uses MSVCRT (old) + llvm-mingw-*-ucrt-i686.zip 32-bit, uses UCRT (new) + llvm-mingw-*-msvcrt-x86_64.zip 64-bit, uses MSVCRT (old) + llvm-mingw-*-ucrt-x86_64.zip 64-bit, uses UCRT (new) + + Extract it, for example, to C:\devel so that the executables end up + in a directory like C:\devel\llvm-mingw-20230919-ucrt-x86_64\bin. + + +5. Building XZ Utils +-------------------- + + For a simple builds, you can use the included build-with-cmake.bat + which takes these arguments: + + %1 = Path to CMake's bin directory. Example: + c:\devel\cmake\bin + + %2 = Path to MinGW-w64's bin directory. Example: + c:\devel\mingw64\bin + + %3 = ON or OFF: Set to ON to build liblzma.dll or OFF for + static liblzma.a. With OFF, the *.exe files won't + depend on liblzma.dll. + + Example: + + build-with-cmake C:\devel\cmake\bin C:\devel\mingw64\bin ON + + If successful, the "build" directory should then contain: + + liblzma.dll liblzma compression library + liblzma.def DEF file for creating an import library + xz.exe xz command line tool + xzdec.exe Decompression-only tool (smaller than xz.exe) + lzmadec.exe Decompression-only tool for legacy .lzma files + lzmainfo.exe Shows header info of legacy .lzma files + + Ignore the other files. :-) + + +5.1. Advanced build options + + For 32-bit x86 builds, adding -msse2 to CFLAGS improves + compression speed a little (but not decompression speed). + There is no runtime detection for SSE2 support. It is + recommended to use 64-bit version when possible. + + It's possible to omit features from the build to reduce code size. + There are several CMake configuration options available. One may + change from CMAKE_BUILD_TYPE=Release to =MinSizeRel as well but + it makes the code slower. + + If building for multiple targets, keep only one toolchain in PATH + at a time. + + +6. Creating an import library for MSVC / Visual Studio +------------------------------------------------------ + + To link against liblzma.dll, you need to create an import library + first. You need the "lib" command from MSVC and liblzma.def. Here + is the command that works on 32-bit x86: + + lib /def:liblzma.def /out:liblzma.lib /machine:ix86 + + On x86-64, the /machine argument has to be changed: + + lib /def:liblzma.def /out:liblzma.lib /machine:x64 + + IMPORTANT: See also the file liblzma-crt-mixing.txt. + diff --git a/windows/INSTALL-MinGW.txt b/windows/INSTALL-MinGW.txt deleted file mode 100644 index 72e2718..0000000 --- a/windows/INSTALL-MinGW.txt +++ /dev/null @@ -1,138 +0,0 @@ - -Building XZ Utils on Windows -============================ - -Introduction ------------- - - This document explains shortly where to get and how to install the - build tools that are needed to build XZ Utils on Windows. The final - binary package will be standalone in sense that it will depend only - on DLLs that are included in all Windows installations. - - These instructions don't apply to Cygwin. XZ Utils can be built under - Cygwin in the same way as many other packages. - - These instructions don't apply to MinGW and MSYS developers either, - who may want to package XZ Utils for MinGW or MSYS distributions. - You know who you are, and will probably use quite different configure - options etc. than what is described here. - - -Installing the toolchain(s) ---------------------------- - - Some of the following is needed: - - MSYS is always needed to use the GNU Autotools based build system. - - MinGW builds 32-bit x86 binaries. - - 32-bit MinGW-w64 (I call it MingW-w32 here) builds 32-bit x86 - executables too. - - MinGW-w64 builds 64-bit x86-64 binaries. - - So you need to pick between MinGW and MinGW-w32 when building - 32-bit version. You don't need both. - - You might find 7-Zip <https://7-zip.org/> handy when extracting - some files. The ready-made build script build.bash will also use - 7-Zip to create the distributable .zip and .7z files. - - I used the following directory structure but you can use whatever - you want. Just note that I will use these in my examples. Each of - these should have a subdirectory "bin": - - C:\devel\tools\msys - C:\devel\tools\mingw - C:\devel\tools\mingw-w32 - C:\devel\tools\mingw-w64 - - -Installing MSYS - - You can download MSYS from MinGW's Sourceforge page: - - https://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/ - - I recommend using MSYS 1.0.11 (MSYS-1.0.11.exe or - msysCORE-1.0.11-bin.tar.gz) because that package includes all the - required tools. At least some of the later versions include only - a subset and thus you would need to download the rest separately. - The old version will work fine for building XZ Utils. - - You can use either the .exe or .tar.gz package. I prefer .tar.gz, - because it can be extracted into any directory and later removed - without worrying about uninstallers. - - -Installing MinGW - - NOTE: This section may be outdated. I haven't tried MinGW recently. - - You can download the required packages from MinGW's Sourceforge page: - - https://sourceforge.net/projects/mingw/files/ - - These version numbers were the latest when I wrote this document, but - you probably should pick the latest versions: - - MinGW Runtime -> mingwrt-3.17-mingw32-dev.tar.gz - MinGW API for MS-Windows -> w32api-3.14-mingw32-dev.tar.gz - GNU Binutils -> binutils-2.20-1-bin.tar.gz - GCC Version 4 -> gcc-full-4.4.0-mingw32-bin-2.tar.lzma - - The full GCC package is quite big, but if you want a smaller - download, you will need to download more than one file, so I'm - using the full package in this document for simplicity. - - Extract the packages in the above order, possibly overwriting files - from packages that were extracted earlier. - - -Installing MinGW-w32 or MinGW-w64 - - I used the packages from Mingw-builds project. With that it is - enough to pick one .7z file for 32-bit and another for 64-bit - toolchain. For XZ Utils 5.2.0 I used the packages from these - directories: - - https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/ - - https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/ - - If you install both MinGW-w32 and MinGW-w64, remember to extract - them into different directories. build.bash looks at - C:\devel\tools\mingw-w32 and C:\devel\tools\mingw-w64 by default. - - -Building XZ Utils ------------------ - - Start MSYS by going to the directory C:\devel\tools\msys and running - msys.bat there (double-click or use command prompt). It will start - at "home" directory, which is C:\devel\tools\msys\home\YourUserName. - - If you have xz-5.x.x.tar.gz in C:\devel, you should be able to build - it now with the following commands: - - cd /c/devel - tar xzf xz-5.x.x.tar.gz - cd xz-5.x.x - bash windows/build.bash - - If you used some other directory than C:\devel\tools for the build - tools, edit the variables near the beginning of build.bash first. - - If you want to build manually, read the buildit() function in - build.bash. Look especially at the latter configure invocation. - - Be patient. Running configure and other scripts used by the build - system is (very) slow under Windows. - - -Using a snapshot from the Git repository - - To use a snapshot, the build system files need to be generated with - autogen.sh or "autoreconf -fi" before trying to build using the - above build instructions. You can install the relevant extra packages - from MinGW or use Cygwin or use e.g. a GNU/Linux system to create a - source package with the required build system files. - diff --git a/windows/README-Windows.txt b/windows/README-Windows.txt index 83f902e..d97d842 100644 --- a/windows/README-Windows.txt +++ b/windows/README-Windows.txt @@ -5,25 +5,31 @@ XZ Utils for Windows Introduction ------------ - This package includes command line tools (xz.exe and a few others) - and the liblzma compression library from XZ Utils. You can find the - latest version and full source code from <https://tukaani.org/xz/>. + This package includes command line tools (xz.exe and a few + others) and the liblzma compression library from XZ Utils. + You can find the latest version and full source code from + <https://tukaani.org/xz/>. The parts of the XZ Utils source code, that are relevant to this - binary package, are in the public domain. XZ Utils have been built - for this package with MinGW-w64 and linked statically against its - runtime libraries. See COPYING-Windows.txt for the copyright and - license information that applies to the MinGW-w64 runtime. You must - include it when redistributing these XZ Utils binaries. + binary package, are under the BSD Zero Clause License (0BSD). + XZ Utils have been built using GCC and MinGW-w64 and linked + statically against the MinGW-w64 runtime libraries. See + COPYING.MinGW-w64-runtime.txt for copyright and license + information that applies to the MinGW-w64 runtime. + + IMPORTANT: You must include COPYING.MinGW-w64-runtime.txt + when distributing these XZ Utils binaries to meet + the license terms of the MinGW-w64 runtime! + + (The file COPYING mentions GNU getopt_long. It's *not* used when + XZ Utils is built with MinGW-w64. Thus GNU LGPLv2.1 doesn't apply.) Package contents ---------------- - All executables and libraries in this package require msvcrt.dll. - It's included in all recent Windows versions. (On Windows 95 it - might be missing, but once you get it somewhere, the i686 binaries - should run even on Windows 95 if the processor is new enough.) + All executables and libraries in this package require msvcrt.dll, + not Universal CRT (UCRT). There is a SSE2 optimization in the compression code but this version of XZ Utils doesn't include run-time processor detection. @@ -31,57 +37,47 @@ Package contents There is one directory for each type of executable and library files: - bin_i686 32-bit x86 (i686 and newer), Windows 95 and later - bin_i686-sse2 32-bit x86 (i686 with SSE2), Windows 98 and later + bin_i686 32-bit x86 (i686 and newer), Windows 2000 and later + bin_i686-sse2 32-bit x86 (i686 with SSE2), Windows 2000 and later bin_x86-64 64-bit x86-64, Windows Vista and later Each of the above directories have the following files: - *.exe Command line tools. (It's useless to double-click - these; use the command prompt instead.) These have - been linked statically against liblzma, so they - don't require liblzma.dll. Thus, you can copy e.g. - xz.exe to a directory that is in PATH without copying - any other files from this package. + *.exe Command line tools. (It's useless to double-click + these; use the command prompt instead.) These have + been linked statically against liblzma, so they + don't require liblzma.dll. Thus, you can copy e.g. + xz.exe to a directory that is in PATH without + copying any other files from this package. - liblzma.dll Shared version of the liblzma compression library. - This file is mostly useful to developers, although - some non-developers might use it to upgrade their - copy of liblzma. + NOTE: xzdec.exe and lzmadec.exe are optimized for + size, single-threaded, and slower than xz.exe. + Use xz.exe unless program size is important. - liblzma.a Static version of the liblzma compression library. - This file is useful only for developers. + liblzma.dll Shared version of the liblzma compression library. + This file is mostly useful to developers, although + some non-developers might use it to upgrade their + copy of liblzma. The rest of the directories contain architecture-independent files: - doc Documentation in the plain text (TXT) format. The - manuals of the command line tools are provided also - in the PDF format. liblzma.def is in this directory - too. - - include C header files for liblzma. These should be - compatible with most C and C++ compilers. If you - have problems, try to fix it and send your fixes - upstream, or at least report a bug, thanks. + doc Basic documentation in the plain text (TXT) + format. COPYING.txt, COPYING.0BSD.txt, and + COPYING.MinGW-w64-runtime.txt contain + copyright and license information. + liblzma.def is in this directory too. + doc/manuals The manuals of the command line tools in + plain text (TXT) format. -Linking against liblzma ------------------------ + doc/examples Example programs for basic liblzma usage. -MinGW + include C header files for liblzma. These should be + compatible with most C and C++ compilers. - If you use MinGW, linking against liblzma.dll or liblzma.a should - be straightforward. You don't need an import library to link - against liblzma.dll, and for static linking, you don't need to - worry about the LZMA_API_STATIC macro. - Note that the MinGW distribution includes liblzma. If you are - building packages that will be part of the MinGW distribution, you - probably should use the version of liblzma shipped in MinGW instead - of this package. - - -Microsoft Visual C++ +Creating an import library for MSVC / Visual Studio +--------------------------------------------------- To link against liblzma.dll, you need to create an import library first. You need the "lib" command from MSVC and liblzma.def from @@ -90,29 +86,11 @@ Microsoft Visual C++ lib /def:liblzma.def /out:liblzma.lib /machine:ix86 - On x86-64, the /machine argument has to naturally be changed: + On x86-64, the /machine argument has to be changed: lib /def:liblzma.def /out:liblzma.lib /machine:x64 - If you need to link statically against liblzma, you should build - liblzma with MSVC 2013 update 2 or later. Alternatively, if having - a decompressor is enough, consider using XZ Embedded or LZMA SDK. - - When you plan to link against static liblzma, you need to tell - lzma.h to not use __declspec(dllimport) by defining the macro - LZMA_API_STATIC. You can do it either in the C/C++ code - - #define LZMA_API_STATIC - #include <lzma.h> - - or by adding it to compiler options. - - -Other compilers - - If you are using some other compiler, see its documentation how to - create an import library (if it is needed). If it is simple, I - might consider including the instructions here. + IMPORTANT: See also the file liblzma-crt-mixing.txt. Reporting bugs diff --git a/windows/build-with-cmake.bat b/windows/build-with-cmake.bat new file mode 100644 index 0000000..24978ba --- /dev/null +++ b/windows/build-with-cmake.bat @@ -0,0 +1,35 @@ +@rem # SPDX-License-Identifier: 0BSD
+@rem # Author: Lasse Collin
+@rem #
+@rem ########################################################################
+@rem #
+@rem # This builds XZ Utils with CMake + MinGW-w64 (GCC or Clang/LLVM).
+@rem # See INSTALL-MinGW-w64_with_CMake.txt for detailed instructions.
+@rem #
+@rem # Summary of command line arguments:
+@rem #
+@rem # %1 = Path to CMake's bin directory. Example:
+@rem # C:\devel\cmake\bin
+@rem #
+@rem # %2 = Path to MinGW-w64's bin directory. Example:
+@rem # C:\devel\mingw64\bin
+@rem #
+@rem # %3 = ON or OFF: Set to ON to build liblzma.dll or OFF for
+@rem # static liblzma.a. With OFF, the *.exe files won't
+@rem # depend on liblzma.dll.
+@rem #
+@rem ########################################################################
+
+setlocal
+set PATH=%1;%2;%PATH%
+
+md build || exit /b
+cd build || exit /b
+
+cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DENABLE_NLS=OFF -DBUILD_SHARED_LIBS=%3 ..\.. || exit /b
+mingw32-make || exit /b
+mingw32-make test || exit /b
+
+@rem liblzma.dll might not exist so ignore errors.
+strip xz.exe xzdec.exe lzmadec.exe lzmainfo.exe liblzma.dll
+exit /b 0
diff --git a/windows/build.bash b/windows/build.bash index e083fe7..a68bd7c 100644 --- a/windows/build.bash +++ b/windows/build.bash @@ -1,42 +1,36 @@ #!/bin/bash -# +# SPDX-License-Identifier: 0BSD + ############################################################################### # -# Build a binary package on Windows with MinGW and MSYS +# This build a XZ Utils binary package using the GNU Autotools build system +# +# NOTE: This requires files that are generated as part of "make mydist". +# So if building from xz.git, create a distribution tarball first, +# extract it, and run this script from there. # -# Set the paths where MinGW, Mingw-w32, or MinGW-w64 are installed. If both -# MinGW and MinGW-w32 are specified, MinGW-w32 will be used. If there is no -# 32-bit or 64-bit compiler at all, it is simply skipped. +# These were tested and known to work: +# - Cross-compilation with MinGW-w64 v10.0.0 and GCC 12.2.0 from +# GNU/Linux ("make check" will be skipped) +# - MSYS2 with MinGW-w64 and GCC +# - MSYS 1.0.11 (from 2009) with MinGW-w64 v11.0.0 and GCC 13.1.0 # # Optionally, 7-Zip is used to create the final .zip and .7z packages. -# If you have installed it in the default directory, this script should -# find it automatically. Otherwise adjust the path manually. +# If the 7z tool is in PATH or if you have installed it in the default +# directory on Windows, this script should find it automatically. # -# If you want to use a cross-compiler e.g. on GNU/Linux, this script won't -# work out of the box. You need to omit "make check" commands and replace -# u2d with some other tool to convert newlines from LF to CR+LF. You will -# also need to pass the --host option to configure. +# Before running this script, copy COPYING.MinGW-w64-runtime.txt to +# the 'windows' directory. +# +# NOTE: MinGW-w64 includes getopt_long(). The GNU getopt_long() (LGPLv2.1) +# included in XZ Utils isn't used when building with MinGW-w64. # ############################################################################### # # Author: Lasse Collin # -# This file has been put into the public domain. -# You can do whatever you want with this file. -# ############################################################################### -MINGW_DIR=/c/devel/tools/mingw -MINGW_W32_DIR=/c/devel/tools/mingw-w32 -MINGW_W64_DIR=/c/devel/tools/mingw-w64 - -for SEVENZ_EXE in "$PROGRAMW6432/7-Zip/7z.exe" "$PROGRAMFILES/7-Zip/7z.exe" \ - "/c/Program Files/7-Zip/7z.exe" -do - [ -x "$SEVENZ_EXE" ] && break -done - - # Abort immediately if something goes wrong. set -e @@ -51,11 +45,34 @@ esac if [ ! -f windows/build.bash ]; then cd .. if [ ! -f windows/build.bash ]; then - echo "You are in a wrong directory." >&2 + echo "ERROR: You are in a wrong directory. This script" >&2 + echo "can be run either at the top-level directory of" >&2 + echo "the package or in the same directory containing" >&2 + echo "this script." >&2 exit 1 fi fi +# COPYING.MinGW-w64-runtime.txt needs to be manually copied from MinGW-w64. +if [ ! -f windows/COPYING.MinGW-w64-runtime.txt ]; then + echo "ERROR: The file 'windows/COPYING.MinGW-w64-runtime.txt'" >&2 + echo "doesn't exists. Copy it from MinGW-w64 so that the" >&2 + echo "copyright and license notices of the MinGW-w64 runtime" >&2 + echo "can be included in the package." >&2 + echo "(Or create an empty file if only doing a test build.)" >&2 + exit 1 +fi + +# Number of jobs for "make": +MAKE_JOBS=$(nproc 2> /dev/null || echo 1) + +# "make check" has to be skipped when cross-compiling. +if [ "x$(uname -o)" = xMsys ]; then + IS_NATIVE_BUILD=true +else + IS_NATIVE_BUILD=false +fi + # Run configure and copy the binaries to the given directory. # # The first argument is the directory where to copy the binaries. @@ -63,9 +80,26 @@ fi buildit() { DESTDIR=$1 - BUILD=$2 + TRIPLET=$2 CFLAGS=$3 + # In the MinGW-w64 + GCC toolchains running natively on Windows, + # $TRIPLET-windres and $TRIPLET-strip commands might not exist. + # Only the short names "windres" and "strip" might be available. + # If both i686 and x86_64 toolchains are in PATH, wrong windres.exe + # will be used for one of the builds, making the build fail. The + # workaround is to put the directory of $TRIPLET-gcc to the front + # of PATH if $TRIPLET-windres or $TRIPLET-strip is missing. + OLD_PATH=$PATH + if type -P "$TRIPLET-windres" > /dev/null \ + && type -P "$TRIPLET-strip" > /dev/null; then + STRIP=$TRIPLET-strip + else + STRIP=strip + GCC_DIR=$(type -P "$TRIPLET-gcc") + PATH=${GCC_DIR%/*}:$PATH + fi + # Clean up if it was already configured. [ -f Makefile ] && make distclean @@ -82,9 +116,13 @@ buildit() --disable-threads \ --disable-shared \ --enable-small \ - --build="$BUILD" \ + --host="$TRIPLET" \ CFLAGS="$CFLAGS -Os" - make check + make -j"$MAKE_JOBS" + + if "$IS_NATIVE_BUILD"; then + make -j"$MAKE_JOBS" check + fi mkdir -pv "$DESTDIR" cp -v src/xzdec/{xz,lzma}dec.exe src/lzmainfo/lzmainfo.exe "$DESTDIR" @@ -99,17 +137,20 @@ buildit() --disable-dependency-tracking \ --disable-nls \ --disable-scripts \ - --build="$BUILD" \ + --host="$TRIPLET" \ CFLAGS="$CFLAGS -O2" - make -C src/liblzma - make -C src/xz LDFLAGS=-static - make -C tests check + make -j"$MAKE_JOBS" -C src/liblzma + make -j"$MAKE_JOBS" -C src/xz LDFLAGS=-static - cp -v src/xz/xz.exe src/liblzma/.libs/liblzma.a "$DESTDIR" - cp -v src/liblzma/.libs/liblzma-*.dll "$DESTDIR/liblzma.dll" + if "$IS_NATIVE_BUILD"; then + make -j"$MAKE_JOBS" -C tests check + fi - strip -v "$DESTDIR/"*.{exe,dll} - strip -vg "$DESTDIR/"*.a + cp -v src/xz/xz.exe "$DESTDIR" + cp -v src/liblzma/.libs/liblzma-5.dll "$DESTDIR/liblzma.dll" + "$STRIP" -v "$DESTDIR/"*.{exe,dll} + + PATH=$OLD_PATH } # Copy files and convert newlines from LF to CR+LF. Optionally add a suffix @@ -117,7 +158,7 @@ buildit() # # The first argument is the destination directory. The second argument is # the suffix to append to the filenames; use empty string if no extra suffix -# is wanted. The rest of the arguments are actual the filenames. +# is wanted. The rest of the arguments are the actual filenames. txtcp() { DESTDIR=$1 @@ -125,80 +166,72 @@ txtcp() shift 2 for SRCFILE; do DESTFILE="$DESTDIR/${SRCFILE##*/}$SUFFIX" - echo "Converting \`$SRCFILE' -> \`$DESTFILE'" - u2d < "$SRCFILE" > "$DESTFILE" + echo "Converting '$SRCFILE' -> '$DESTFILE'" + sed s/\$/$'\r'/ < "$SRCFILE" > "$DESTFILE" done } -if [ -d "$MINGW_W32_DIR" ]; then - # 32-bit x86, Win95 or later, using MinGW-w32 - PATH=$MINGW_W32_DIR/bin:$MINGW_W32_DIR/i686-w64-mingw32/bin:$PATH \ - buildit \ - pkg/bin_i686 \ - i686-w64-mingw32 \ +if type -P i686-w64-mingw32-gcc > /dev/null; then + # 32-bit x86, Win2k or later + buildit pkg/bin_i686 i686-w64-mingw32 \ '-march=i686 -mtune=generic' - # 32-bit x86 with SSE2, Win98 or later, using MinGW-w32 - PATH=$MINGW_W32_DIR/bin:$MINGW_W32_DIR/i686-w64-mingw32/bin:$PATH \ - buildit \ - pkg/bin_i686-sse2 \ - i686-w64-mingw32 \ - '-march=i686 -msse2 -mfpmath=sse -mtune=generic' -elif [ -d "$MINGW_DIR" ]; then - # 32-bit x86, Win95 or later, using MinGW - PATH=$MINGW_DIR/bin:$PATH \ - buildit \ - pkg/bin_i486 \ - i486-pc-mingw32 \ - '-march=i486 -mtune=generic' + + # 32-bit x86 with SSE2, Win2k or later + buildit pkg/bin_i686-sse2 i686-w64-mingw32 \ + '-march=i686 -msse2 -mtune=generic' +else + echo + echo "i686-w64-mingw32-gcc is not in PATH, skipping 32-bit x86 builds" + echo fi -if [ -d "$MINGW_W64_DIR" ]; then - # x86-64, Windows Vista or later, using MinGW-w64 - PATH=$MINGW_W64_DIR/bin:$MINGW_W64_DIR/x86_64-w64-mingw32/bin:$PATH \ - buildit \ - pkg/bin_x86-64 \ - x86_64-w64-mingw32 \ +if type -P x86_64-w64-mingw32-gcc > /dev/null; then + # x86-64, Windows Vista or later + buildit pkg/bin_x86-64 x86_64-w64-mingw32 \ '-march=x86-64 -mtune=generic' +else + echo + echo "x86_64-w64-mingw32-gcc is not in PATH, skipping x86-64 build" + echo fi # Copy the headers, the .def file, and the docs. # They are the same for all architectures and builds. -mkdir -pv pkg/{include/lzma,doc/{api,manuals,examples}} +mkdir -pv pkg/{include/lzma,doc/{manuals,examples}} txtcp pkg/include "" src/liblzma/api/lzma.h txtcp pkg/include/lzma "" src/liblzma/api/lzma/*.h txtcp pkg/doc "" src/liblzma/liblzma.def -txtcp pkg/doc .txt AUTHORS COPYING NEWS README THANKS TODO -txtcp pkg/doc "" doc/*.txt windows/README-Windows.txt +txtcp pkg/doc .txt AUTHORS COPYING COPYING.0BSD NEWS README THANKS +txtcp pkg/doc "" doc/*.txt \ + windows/README-Windows.txt \ + windows/liblzma-crt-mixing.txt \ + windows/COPYING.MinGW-w64-runtime.txt txtcp pkg/doc/manuals "" doc/man/txt/{xz,xzdec,lzmainfo}.txt -cp -v doc/man/pdf-*/{xz,xzdec,lzmainfo}-*.pdf pkg/doc/manuals -cp -v doc/api/* pkg/doc/api +# cp -v doc/man/pdf-*/{xz,xzdec,lzmainfo}-*.pdf pkg/doc/manuals +# cp -rv doc/api pkg/doc/api txtcp pkg/doc/examples "" doc/examples/* -if [ -f windows/COPYING-Windows.txt ]; then - txtcp pkg/doc "" windows/COPYING-Windows.txt -fi +# Create the package. This requires 7z from 7-Zip. +# If it isn't found, this step is skipped. +for SEVENZ in "$(type -P 7z || true)" \ + "$PROGRAMW6432/7-Zip/7z.exe" "$PROGRAMFILES/7-Zip/7z.exe" \ + "/c/Program Files/7-Zip/7z.exe" +do + [ -x "$SEVENZ" ] && break +done -# Create the package. This requires 7z.exe from 7-Zip. If it wasn't found, -# this step is skipped and you have to zip it yourself. -VER=$(sh build-aux/version.sh) -cd pkg -if [ -x "$SEVENZ_EXE" ]; then - "$SEVENZ_EXE" a -tzip ../xz-$VER-windows.zip * - "$SEVENZ_EXE" a ../xz-$VER-windows.7z * +if [ -x "$SEVENZ" ]; then + VER=$(sh build-aux/version.sh) + cd pkg + "$SEVENZ" a -tzip ../xz-$VER-windows.zip * + "$SEVENZ" a ../xz-$VER-windows.7z * else echo - echo "NOTE: 7z.exe was not found. xz-$VER-windows.zip" + echo "NOTE: 7z was not found. xz-$VER-windows.zip" echo " and xz-$VER-windows.7z were not created." echo " You can create them yourself from the pkg directory." fi -if [ ! -f ../windows/COPYING-Windows.txt ]; then - echo - echo "NOTE: windows/COPYING-Windows.txt doesn't exists." - echo " MinGW(-w64) runtime copyright information" - echo " is not included in the package." -fi - echo echo "Build completed successfully." echo diff --git a/windows/liblzma-crt-mixing.txt b/windows/liblzma-crt-mixing.txt new file mode 100644 index 0000000..4ef2f8a --- /dev/null +++ b/windows/liblzma-crt-mixing.txt @@ -0,0 +1,70 @@ + +liblzma.dll and mixing C runtimes (CRTs) +---------------------------------------- + + If possible, liblzma.dll should be linked against the same CRT + (MSVCRT or UCRT) as the application calling the liblzma functions. + When this isn't possible, liblzma.dll will still work but there + are a few API functions that need extra care. + + Each CRT has its own memory allocator, stdio FILE implementation, + mapping of file descriptors from _open() to Windows' HANDLEs, and + so on. Mixing CRTs is a problem if, for example, one library calls + fopen() and then passes the resulting FILE* to a second library and + these two libraries use different CRTs. liblzma doesn't expose FILE + pointers or file descriptors in the API but the problem can occur + with memory allocation with a few specific functions. + + The most commonly-used API functions in liblzma are such that both + memory allocation and deallocation is done internally by liblzma, + thus most applications won't have any problems with mixing CRTs + with liblzma.dll. The following API functions are the exception: + + lzma/block.h: + lzma_block_header_decode + + lzma/filter.h: + lzma_filters_copy + lzma_filters_free + lzma_properties_decode + lzma_filter_flags_decode + lzma_str_to_filters + lzma_str_from_filters + lzma_str_list_filters + + Excluding lzma_filters_free(), the above functions allocate memory + and leave it to the caller to free it. lzma_filters_free() frees + memory given to it, and that memory may have been allocated outside + of liblzma. + + For example, if application calls lzma_str_list_filters(&ptr, ...) + and then uses free(ptr), something bad (memory corruption, crash) + will happen if the application and liblzma.dll aren't using the + same CRT. This can be worked around with a few lines of extra code. + + All these functions (and many others too) take a pointer to + lzma_allocator structure as an argument. Typically it is set to + NULL to let liblzma use malloc() and free() (and also calloc() + as it is faster than malloc() + memset()). A custom lzma_allocator + can be used to wrap malloc() and free() from application's CRT: + + static void * LZMA_API_CALL + my_alloc(void *opaque, size_t nmemb, size_t size) + { + // liblzma guarantees that this won't overflow. + return malloc(nmemb * size); + } + + static void LZMA_API_CALL + my_free(void *opaque, void *ptr) + { + free(ptr); + } + + static const lzma_allocator allocator + = { &my_alloc, &my_free, NULL }; + + By passing &allocator to the problematic functions, CRT mixing + should not cause any problems. There is no need to use &allocator + with functions other than those listed above. + diff --git a/windows/vs2013/config.h b/windows/vs2013/config.h deleted file mode 100644 index 1a78b9b..0000000 --- a/windows/vs2013/config.h +++ /dev/null @@ -1,157 +0,0 @@ -/* config.h for compiling liblzma (*not* the whole XZ Utils) with MSVC 2013 */ - -/* Prefix for symbols exported by tuklib_*.c files */ -#define TUKLIB_SYMBOL_PREFIX lzma_ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the <stdint.h> header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 0 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -#ifdef _M_IX86 -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. - This is used for 32-bit x86 builds for compatibility reasons since it - makes no measurable difference in performance compared to Vista threads. */ -#define MYTHREAD_WIN95 1 -#else -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -#define MYTHREAD_VISTA 1 -#endif - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* The size of `size_t', as computed by sizeof. */ -#ifdef _WIN64 -#define SIZEOF_SIZE_T 8 -#else -#define SIZEOF_SIZE_T 4 -#endif - -/* Define to 1 if the system supports fast unaligned access to 16-bit and - 32-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 diff --git a/windows/vs2013/liblzma.vcxproj b/windows/vs2013/liblzma.vcxproj deleted file mode 100644 index 0e9b8b1..0000000 --- a/windows/vs2013/liblzma.vcxproj +++ /dev/null @@ -1,363 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|Win32"> - <Configuration>ReleaseMT</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|x64"> - <Configuration>ReleaseMT</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{12728250-16EC-4DC6-94D7-E21DD88947F8}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\src\common\tuklib_cpucores.c" /> - <ClCompile Include="..\..\src\common\tuklib_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\check\check.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\sha256.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\auto_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_util.c" /> - <ClCompile Include="..\..\src\liblzma\common\common.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_decoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_preset.c" /> - <ClCompile Include="..\..\src\liblzma\common\file_info.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_cputhreads.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\common\index.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_hash.c" /> - <ClCompile Include="..\..\src\liblzma\common\lzip_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\outqueue.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\string_conversion.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_size.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_common.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\fastpos_table.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_presets.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder_mf.c" /> - <ClCompile Include="..\..\src\liblzma\rangecoder\price_table.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\armthumb.c" /> - <ClCompile Include="..\..\src\liblzma\simple\ia64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\powerpc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_coder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\sparc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\x86.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\src\common\mythread.h" /> - <ClInclude Include="..\..\src\common\sysdefs.h" /> - <ClInclude Include="..\..\src\common\tuklib_common.h" /> - <ClInclude Include="..\..\src\common\tuklib_config.h" /> - <ClInclude Include="..\..\src\common\tuklib_cpucores.h" /> - <ClInclude Include="..\..\src\common\tuklib_integer.h" /> - <ClInclude Include="..\..\src\common\tuklib_physmem.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\base.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\bcj.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\block.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\check.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\container.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\delta.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\filter.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\hardware.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index_hash.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\lzma12.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\stream_flags.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\version.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\vli.h" /> - <ClInclude Include="..\..\src\liblzma\check\check.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc_macros.h" /> - <ClInclude Include="..\..\src\liblzma\common\alone_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_buffer_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\common.h" /> - <ClInclude Include="..\..\src\liblzma\common\easy_preset.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_common.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\memcmplen.h" /> - <ClInclude Include="..\..\src\liblzma\common\lzip_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\outqueue.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_flags_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_private.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\fastpos.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_common.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder_private.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash_table.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\price.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_common.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_coder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_private.h" /> - <ClInclude Include="config.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/windows/vs2013/liblzma_dll.vcxproj b/windows/vs2013/liblzma_dll.vcxproj deleted file mode 100644 index c2c3498..0000000 --- a/windows/vs2013/liblzma_dll.vcxproj +++ /dev/null @@ -1,398 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|Win32"> - <Configuration>ReleaseMT</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|x64"> - <Configuration>ReleaseMT</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental> - </LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental /> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <LinkIncremental> - </LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <LinkIncremental /> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\src\common\tuklib_cpucores.c" /> - <ClCompile Include="..\..\src\common\tuklib_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\check\check.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\sha256.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\auto_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_util.c" /> - <ClCompile Include="..\..\src\liblzma\common\common.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_decoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_preset.c" /> - <ClCompile Include="..\..\src\liblzma\common\file_info.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_cputhreads.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\common\index.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_hash.c" /> - <ClCompile Include="..\..\src\liblzma\common\lzip_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\outqueue.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\string_conversion.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_size.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_common.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\fastpos_table.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_presets.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder_mf.c" /> - <ClCompile Include="..\..\src\liblzma\rangecoder\price_table.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\armthumb.c" /> - <ClCompile Include="..\..\src\liblzma\simple\ia64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\powerpc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_coder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\sparc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\x86.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\src\common\mythread.h" /> - <ClInclude Include="..\..\src\common\sysdefs.h" /> - <ClInclude Include="..\..\src\common\tuklib_common.h" /> - <ClInclude Include="..\..\src\common\tuklib_config.h" /> - <ClInclude Include="..\..\src\common\tuklib_cpucores.h" /> - <ClInclude Include="..\..\src\common\tuklib_integer.h" /> - <ClInclude Include="..\..\src\common\tuklib_physmem.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\base.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\bcj.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\block.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\check.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\container.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\delta.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\filter.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\hardware.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index_hash.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\lzma12.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\stream_flags.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\version.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\vli.h" /> - <ClInclude Include="..\..\src\liblzma\check\check.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc_macros.h" /> - <ClInclude Include="..\..\src\liblzma\common\alone_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_buffer_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\common.h" /> - <ClInclude Include="..\..\src\liblzma\common\easy_preset.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_common.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\memcmplen.h" /> - <ClInclude Include="..\..\src\liblzma\common\lzip_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\outqueue.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_flags_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_private.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\fastpos.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_common.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder_private.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash_table.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\price.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_common.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_coder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_private.h" /> - <ClInclude Include="config.h" /> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="..\..\src\liblzma\liblzma_w32res.rc" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/windows/vs2013/xz_win.sln b/windows/vs2013/xz_win.sln deleted file mode 100644 index 3d25291..0000000 --- a/windows/vs2013/xz_win.sln +++ /dev/null @@ -1,48 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma", "liblzma.vcxproj", "{12728250-16EC-4DC6-94D7-E21DD88947F8}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma_dll", "liblzma_dll.vcxproj", "{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - ReleaseMT|Win32 = ReleaseMT|Win32 - ReleaseMT|x64 = ReleaseMT|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.ActiveCfg = Debug|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.Build.0 = Debug|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.ActiveCfg = Debug|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.Build.0 = Debug|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.ActiveCfg = Release|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.Build.0 = Release|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.ActiveCfg = Release|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.Build.0 = Release|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.Build.0 = ReleaseMT|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.ActiveCfg = Debug|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.Build.0 = Debug|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.ActiveCfg = Debug|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.Build.0 = Debug|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.ActiveCfg = Release|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.Build.0 = Release|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.ActiveCfg = Release|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.Build.0 = Release|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.Build.0 = ReleaseMT|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/windows/vs2017/config.h b/windows/vs2017/config.h deleted file mode 100644 index 06da83c..0000000 --- a/windows/vs2017/config.h +++ /dev/null @@ -1,157 +0,0 @@ -/* config.h for compiling liblzma (*not* the whole XZ Utils) with MSVC 2017 */ - -/* Prefix for symbols exported by tuklib_*.c files */ -#define TUKLIB_SYMBOL_PREFIX lzma_ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the <stdint.h> header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 0 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -#ifdef _M_IX86 -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. - This is used for 32-bit x86 builds for compatibility reasons since it - makes no measurable difference in performance compared to Vista threads. */ -#define MYTHREAD_WIN95 1 -#else -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -#define MYTHREAD_VISTA 1 -#endif - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* The size of `size_t', as computed by sizeof. */ -#ifdef _WIN64 -#define SIZEOF_SIZE_T 8 -#else -#define SIZEOF_SIZE_T 4 -#endif - -/* Define to 1 if the system supports fast unaligned access to 16-bit and - 32-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 diff --git a/windows/vs2017/liblzma.vcxproj b/windows/vs2017/liblzma.vcxproj deleted file mode 100644 index f9241a2..0000000 --- a/windows/vs2017/liblzma.vcxproj +++ /dev/null @@ -1,363 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|Win32"> - <Configuration>ReleaseMT</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|x64"> - <Configuration>ReleaseMT</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{12728250-16EC-4DC6-94D7-E21DD88947F8}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\src\common\tuklib_cpucores.c" /> - <ClCompile Include="..\..\src\common\tuklib_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\check\check.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\sha256.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\auto_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_util.c" /> - <ClCompile Include="..\..\src\liblzma\common\common.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_decoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_preset.c" /> - <ClCompile Include="..\..\src\liblzma\common\file_info.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_cputhreads.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\common\index.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_hash.c" /> - <ClCompile Include="..\..\src\liblzma\common\lzip_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\outqueue.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\string_conversion.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_size.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_common.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\fastpos_table.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_presets.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder_mf.c" /> - <ClCompile Include="..\..\src\liblzma\rangecoder\price_table.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\armthumb.c" /> - <ClCompile Include="..\..\src\liblzma\simple\ia64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\powerpc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_coder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\sparc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\x86.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\src\common\mythread.h" /> - <ClInclude Include="..\..\src\common\sysdefs.h" /> - <ClInclude Include="..\..\src\common\tuklib_common.h" /> - <ClInclude Include="..\..\src\common\tuklib_config.h" /> - <ClInclude Include="..\..\src\common\tuklib_cpucores.h" /> - <ClInclude Include="..\..\src\common\tuklib_integer.h" /> - <ClInclude Include="..\..\src\common\tuklib_physmem.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\base.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\bcj.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\block.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\check.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\container.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\delta.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\filter.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\hardware.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index_hash.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\lzma12.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\stream_flags.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\version.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\vli.h" /> - <ClInclude Include="..\..\src\liblzma\check\check.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc_macros.h" /> - <ClInclude Include="..\..\src\liblzma\common\alone_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_buffer_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\common.h" /> - <ClInclude Include="..\..\src\liblzma\common\easy_preset.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_common.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\memcmplen.h" /> - <ClInclude Include="..\..\src\liblzma\common\lzip_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\outqueue.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_flags_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_private.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\fastpos.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_common.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder_private.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash_table.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\price.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_common.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_coder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_private.h" /> - <ClInclude Include="config.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/windows/vs2017/liblzma_dll.vcxproj b/windows/vs2017/liblzma_dll.vcxproj deleted file mode 100644 index 7818b2c..0000000 --- a/windows/vs2017/liblzma_dll.vcxproj +++ /dev/null @@ -1,398 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|Win32"> - <Configuration>ReleaseMT</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|x64"> - <Configuration>ReleaseMT</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental> - </LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental /> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <LinkIncremental> - </LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <LinkIncremental /> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\src\common\tuklib_cpucores.c" /> - <ClCompile Include="..\..\src\common\tuklib_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\check\check.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\sha256.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\auto_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_util.c" /> - <ClCompile Include="..\..\src\liblzma\common\common.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_decoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_preset.c" /> - <ClCompile Include="..\..\src\liblzma\common\file_info.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_cputhreads.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\common\index.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_hash.c" /> - <ClCompile Include="..\..\src\liblzma\common\lzip_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\outqueue.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\string_conversion.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_size.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_common.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\fastpos_table.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_presets.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder_mf.c" /> - <ClCompile Include="..\..\src\liblzma\rangecoder\price_table.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\armthumb.c" /> - <ClCompile Include="..\..\src\liblzma\simple\ia64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\powerpc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_coder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\sparc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\x86.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\src\common\mythread.h" /> - <ClInclude Include="..\..\src\common\sysdefs.h" /> - <ClInclude Include="..\..\src\common\tuklib_common.h" /> - <ClInclude Include="..\..\src\common\tuklib_config.h" /> - <ClInclude Include="..\..\src\common\tuklib_cpucores.h" /> - <ClInclude Include="..\..\src\common\tuklib_integer.h" /> - <ClInclude Include="..\..\src\common\tuklib_physmem.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\base.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\bcj.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\block.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\check.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\container.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\delta.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\filter.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\hardware.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index_hash.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\lzma12.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\stream_flags.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\version.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\vli.h" /> - <ClInclude Include="..\..\src\liblzma\check\check.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc_macros.h" /> - <ClInclude Include="..\..\src\liblzma\common\alone_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_buffer_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\common.h" /> - <ClInclude Include="..\..\src\liblzma\common\easy_preset.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_common.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\memcmplen.h" /> - <ClInclude Include="..\..\src\liblzma\common\lzip_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\outqueue.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_flags_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_private.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\fastpos.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_common.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder_private.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash_table.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\price.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_common.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_coder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_private.h" /> - <ClInclude Include="config.h" /> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="..\..\src\liblzma\liblzma_w32res.rc" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/windows/vs2017/xz_win.sln b/windows/vs2017/xz_win.sln deleted file mode 100644 index ba49f3e..0000000 --- a/windows/vs2017/xz_win.sln +++ /dev/null @@ -1,48 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26430.14 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma", "liblzma.vcxproj", "{12728250-16EC-4DC6-94D7-E21DD88947F8}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma_dll", "liblzma_dll.vcxproj", "{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - ReleaseMT|Win32 = ReleaseMT|Win32 - ReleaseMT|x64 = ReleaseMT|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.ActiveCfg = Debug|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.Build.0 = Debug|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.ActiveCfg = Debug|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.Build.0 = Debug|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.ActiveCfg = Release|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.Build.0 = Release|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.ActiveCfg = Release|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.Build.0 = Release|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.Build.0 = ReleaseMT|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.ActiveCfg = Debug|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.Build.0 = Debug|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.ActiveCfg = Debug|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.Build.0 = Debug|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.ActiveCfg = Release|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.Build.0 = Release|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.ActiveCfg = Release|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.Build.0 = Release|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.Build.0 = ReleaseMT|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/windows/vs2019/config.h b/windows/vs2019/config.h deleted file mode 100644 index 6679da9..0000000 --- a/windows/vs2019/config.h +++ /dev/null @@ -1,157 +0,0 @@ -/* config.h for compiling liblzma (*not* the whole XZ Utils) with MSVC 2019 */ - -/* Prefix for symbols exported by tuklib_*.c files */ -#define TUKLIB_SYMBOL_PREFIX lzma_ - -/* How many MiB of RAM to assume if the real amount cannot be determined. */ -#define ASSUME_RAM 128 - -/* Define to 1 if crc32 integrity check is enabled. */ -#define HAVE_CHECK_CRC32 1 - -/* Define to 1 if crc64 integrity check is enabled. */ -#define HAVE_CHECK_CRC64 1 - -/* Define to 1 if sha256 integrity check is enabled. */ -#define HAVE_CHECK_SHA256 1 - -/* Define to 1 if any of HAVE_DECODER_foo have been defined. */ -#define HAVE_DECODERS 1 - -/* Define to 1 if arm decoder is enabled. */ -#define HAVE_DECODER_ARM 1 - -/* Define to 1 if arm64 decoder is enabled. */ -#define HAVE_DECODER_ARM64 1 - -/* Define to 1 if armthumb decoder is enabled. */ -#define HAVE_DECODER_ARMTHUMB 1 - -/* Define to 1 if delta decoder is enabled. */ -#define HAVE_DECODER_DELTA 1 - -/* Define to 1 if ia64 decoder is enabled. */ -#define HAVE_DECODER_IA64 1 - -/* Define to 1 if lzma1 decoder is enabled. */ -#define HAVE_DECODER_LZMA1 1 - -/* Define to 1 if lzma2 decoder is enabled. */ -#define HAVE_DECODER_LZMA2 1 - -/* Define to 1 if powerpc decoder is enabled. */ -#define HAVE_DECODER_POWERPC 1 - -/* Define to 1 if sparc decoder is enabled. */ -#define HAVE_DECODER_SPARC 1 - -/* Define to 1 if x86 decoder is enabled. */ -#define HAVE_DECODER_X86 1 - -/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ -#define HAVE_ENCODERS 1 - -/* Define to 1 if arm encoder is enabled. */ -#define HAVE_ENCODER_ARM 1 - -/* Define to 1 if arm64 encoder is enabled. */ -#define HAVE_ENCODER_ARM64 1 - -/* Define to 1 if armthumb encoder is enabled. */ -#define HAVE_ENCODER_ARMTHUMB 1 - -/* Define to 1 if delta encoder is enabled. */ -#define HAVE_ENCODER_DELTA 1 - -/* Define to 1 if ia64 encoder is enabled. */ -#define HAVE_ENCODER_IA64 1 - -/* Define to 1 if lzma1 encoder is enabled. */ -#define HAVE_ENCODER_LZMA1 1 - -/* Define to 1 if lzma2 encoder is enabled. */ -#define HAVE_ENCODER_LZMA2 1 - -/* Define to 1 if powerpc encoder is enabled. */ -#define HAVE_ENCODER_POWERPC 1 - -/* Define to 1 if sparc encoder is enabled. */ -#define HAVE_ENCODER_SPARC 1 - -/* Define to 1 if x86 encoder is enabled. */ -#define HAVE_ENCODER_X86 1 - -/* Define to 1 if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if .lz (lzip) decompression support is enabled. */ -#define HAVE_LZIP_DECODER 1 - -/* Define to 1 to enable bt2 match finder. */ -#define HAVE_MF_BT2 1 - -/* Define to 1 to enable bt3 match finder. */ -#define HAVE_MF_BT3 1 - -/* Define to 1 to enable bt4 match finder. */ -#define HAVE_MF_BT4 1 - -/* Define to 1 to enable hc3 match finder. */ -#define HAVE_MF_HC3 1 - -/* Define to 1 to enable hc4 match finder. */ -#define HAVE_MF_HC4 1 - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the <stdint.h> header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 or 0, depending whether the compiler supports simple visibility - declarations. */ -#define HAVE_VISIBILITY 0 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -#ifdef _M_IX86 -/* Define to 1 when using Windows 95 (and thus XP) compatible threads. This - avoids use of features that were added in Windows Vista. - This is used for 32-bit x86 builds for compatibility reasons since it - makes no measurable difference in performance compared to Vista threads. */ -#define MYTHREAD_WIN95 1 -#else -/* Define to 1 when using Windows Vista compatible threads. This uses features - that are not available on Windows XP. */ -#define MYTHREAD_VISTA 1 -#endif - -/* Define to 1 to disable debugging code. */ -#define NDEBUG 1 - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "XZ Utils" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "https://tukaani.org/xz/" - -/* The size of `size_t', as computed by sizeof. */ -#ifdef _WIN64 -#define SIZEOF_SIZE_T 8 -#else -#define SIZEOF_SIZE_T 4 -#endif - -/* Define to 1 if the system supports fast unaligned access to 16-bit and - 32-bit integers. */ -#define TUKLIB_FAST_UNALIGNED_ACCESS 1 diff --git a/windows/vs2019/liblzma.vcxproj b/windows/vs2019/liblzma.vcxproj deleted file mode 100644 index defb2e7..0000000 --- a/windows/vs2019/liblzma.vcxproj +++ /dev/null @@ -1,364 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|Win32"> - <Configuration>ReleaseMT</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|x64"> - <Configuration>ReleaseMT</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{12728250-16EC-4DC6-94D7-E21DD88947F8}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration"> - <ConfigurationType>StaticLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\src\common\tuklib_cpucores.c" /> - <ClCompile Include="..\..\src\common\tuklib_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\check\check.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\sha256.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\auto_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_util.c" /> - <ClCompile Include="..\..\src\liblzma\common\common.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_decoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_preset.c" /> - <ClCompile Include="..\..\src\liblzma\common\file_info.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_cputhreads.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\common\index.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_hash.c" /> - <ClCompile Include="..\..\src\liblzma\common\lzip_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\outqueue.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\string_conversion.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_size.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_common.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\fastpos_table.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_presets.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder_mf.c" /> - <ClCompile Include="..\..\src\liblzma\rangecoder\price_table.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\armthumb.c" /> - <ClCompile Include="..\..\src\liblzma\simple\ia64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\powerpc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_coder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\sparc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\x86.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\src\common\mythread.h" /> - <ClInclude Include="..\..\src\common\sysdefs.h" /> - <ClInclude Include="..\..\src\common\tuklib_common.h" /> - <ClInclude Include="..\..\src\common\tuklib_config.h" /> - <ClInclude Include="..\..\src\common\tuklib_cpucores.h" /> - <ClInclude Include="..\..\src\common\tuklib_integer.h" /> - <ClInclude Include="..\..\src\common\tuklib_physmem.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\base.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\bcj.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\block.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\check.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\container.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\delta.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\filter.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\hardware.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index_hash.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\lzma12.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\stream_flags.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\version.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\vli.h" /> - <ClInclude Include="..\..\src\liblzma\check\check.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc_macros.h" /> - <ClInclude Include="..\..\src\liblzma\common\alone_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_buffer_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\common.h" /> - <ClInclude Include="..\..\src\liblzma\common\easy_preset.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_common.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\memcmplen.h" /> - <ClInclude Include="..\..\src\liblzma\common\lzip_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\outqueue.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_flags_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_private.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\fastpos.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_common.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder_private.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash_table.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\price.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_common.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_coder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_private.h" /> - <ClInclude Include="config.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/windows/vs2019/liblzma_dll.vcxproj b/windows/vs2019/liblzma_dll.vcxproj deleted file mode 100644 index 8aa221b..0000000 --- a/windows/vs2019/liblzma_dll.vcxproj +++ /dev/null @@ -1,399 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|Win32"> - <Configuration>ReleaseMT</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="ReleaseMT|x64"> - <Configuration>ReleaseMT</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental> - </LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental /> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <LinkIncremental> - </LinkIncremental> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <LinkIncremental /> - <OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir> - <IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir> - <TargetName>liblzma</TargetName> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <TargetMachine>MachineX86</TargetMachine> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'"> - <ClCompile> - <PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> - <WarningLevel>Level3</WarningLevel> - <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;../../src/liblzma/check;../../src/liblzma/delta;../../src/liblzma/lz;../../src/liblzma/lzma;../../src/liblzma/rangecoder;../../src/liblzma/simple</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <SubSystem>Windows</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - <ResourceCompile> - <AdditionalIncludeDirectories>./;../../src/liblzma/common;../../src/common;../../src/liblzma/api;</AdditionalIncludeDirectories> - <PreprocessorDefinitions>HAVE_CONFIG_H</PreprocessorDefinitions> - </ResourceCompile> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\src\common\tuklib_cpucores.c" /> - <ClCompile Include="..\..\src\common\tuklib_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\check\check.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc32_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_fast.c" /> - <ClCompile Include="..\..\src\liblzma\check\crc64_table.c" /> - <ClCompile Include="..\..\src\liblzma\check\sha256.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\alone_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\auto_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_header_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\block_util.c" /> - <ClCompile Include="..\..\src\liblzma\common\common.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_decoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_encoder_memusage.c" /> - <ClCompile Include="..\..\src\liblzma\common\easy_preset.c" /> - <ClCompile Include="..\..\src\liblzma\common\file_info.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\filter_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_cputhreads.c" /> - <ClCompile Include="..\..\src\liblzma\common\hardware_physmem.c" /> - <ClCompile Include="..\..\src\liblzma\common\index.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\index_hash.c" /> - <ClCompile Include="..\..\src\liblzma\common\lzip_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\microlzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\outqueue.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_buffer_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_decoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_encoder_mt.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_common.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\stream_flags_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\string_conversion.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\common\vli_size.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_common.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\delta\delta_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\fastpos_table.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma2_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" /> - <ClCompile Include="..\..\src\liblzma\lzma\lzma_encoder_presets.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\lz\lz_encoder_mf.c" /> - <ClCompile Include="..\..\src\liblzma\rangecoder\price_table.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm.c" /> - <ClCompile Include="..\..\src\liblzma\simple\arm64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\armthumb.c" /> - <ClCompile Include="..\..\src\liblzma\simple\ia64.c" /> - <ClCompile Include="..\..\src\liblzma\simple\powerpc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_coder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_decoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\simple_encoder.c" /> - <ClCompile Include="..\..\src\liblzma\simple\sparc.c" /> - <ClCompile Include="..\..\src\liblzma\simple\x86.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\src\common\mythread.h" /> - <ClInclude Include="..\..\src\common\sysdefs.h" /> - <ClInclude Include="..\..\src\common\tuklib_common.h" /> - <ClInclude Include="..\..\src\common\tuklib_config.h" /> - <ClInclude Include="..\..\src\common\tuklib_cpucores.h" /> - <ClInclude Include="..\..\src\common\tuklib_integer.h" /> - <ClInclude Include="..\..\src\common\tuklib_physmem.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\base.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\bcj.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\block.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\check.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\container.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\delta.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\filter.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\hardware.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\index_hash.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\lzma12.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\stream_flags.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\version.h" /> - <ClInclude Include="..\..\src\liblzma\api\lzma\vli.h" /> - <ClInclude Include="..\..\src\liblzma\check\check.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc32_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_be.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc64_table_le.h" /> - <ClInclude Include="..\..\src\liblzma\check\crc_macros.h" /> - <ClInclude Include="..\..\src\liblzma\common\alone_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_buffer_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\block_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\common.h" /> - <ClInclude Include="..\..\src\liblzma\common\easy_preset.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_common.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\filter_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\index_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\memcmplen.h" /> - <ClInclude Include="..\..\src\liblzma\common\lzip_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\outqueue.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\common\stream_flags_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_common.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\delta\delta_private.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\fastpos.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma2_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_common.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lzma\lzma_encoder_private.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash.h" /> - <ClInclude Include="..\..\src\liblzma\lz\lz_encoder_hash_table.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\price.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_common.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\rangecoder\range_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_coder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_decoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_encoder.h" /> - <ClInclude Include="..\..\src\liblzma\simple\simple_private.h" /> - <ClInclude Include="config.h" /> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="..\..\src\liblzma\liblzma_w32res.rc" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/windows/vs2019/xz_win.sln b/windows/vs2019/xz_win.sln deleted file mode 100644 index c65cd3e..0000000 --- a/windows/vs2019/xz_win.sln +++ /dev/null @@ -1,51 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.28803.202 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma", "liblzma.vcxproj", "{12728250-16EC-4DC6-94D7-E21DD88947F8}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma_dll", "liblzma_dll.vcxproj", "{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - ReleaseMT|Win32 = ReleaseMT|Win32 - ReleaseMT|x64 = ReleaseMT|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.ActiveCfg = Debug|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.Build.0 = Debug|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.ActiveCfg = Debug|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.Build.0 = Debug|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.ActiveCfg = Release|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.Build.0 = Release|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.ActiveCfg = Release|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.Build.0 = Release|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64 - {12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.Build.0 = ReleaseMT|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.ActiveCfg = Debug|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.Build.0 = Debug|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.ActiveCfg = Debug|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.Build.0 = Debug|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.ActiveCfg = Release|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.Build.0 = Release|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.ActiveCfg = Release|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.Build.0 = Release|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64 - {E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.Build.0 = ReleaseMT|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {78887FAE-FC02-4B67-A8DB-DC7863496039} - EndGlobalSection -EndGlobal |