]> wimlib.net Git - wimlib/commitdiff
Include import library and header in Windows releases
authorEric Biggers <ebiggers3@gmail.com>
Sun, 27 Nov 2016 23:37:21 +0000 (15:37 -0800)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 28 Nov 2016 03:19:38 +0000 (19:19 -0800)
README.WINDOWS
include/wimlib.h
tools/make-windows-release

index 11ee8c66eb16bc92eb143c5287d8a0e08828f9b8..00697e6f834a1839c2c6b9933f27bb9a95c7fc81 100644 (file)
@@ -18,17 +18,20 @@ The Windows distribution of wimlib is a ZIP file containing the following items:
   * Very short batch scripts (e.g. wimapply.cmd) which are shortcuts to the
     corresponding wimlib-imagex commands (e.g. `wimlib-imagex apply').
 
+  * The library itself in DLL format (libwim-15.dll).  wimlib-imagex.exe
+    requires this to run.
+
   * The documentation, including this file, the generic README.txt, and
     PDF documentation for wimlib-imagex in the 'doc' directory.
 
-  * The library itself (libwim-15.dll).  The C header wimlib.h is not
-    included; download the source if you want it.
-
   * License files for all software included.  These are all free software
     licenses.  COPYING.txt is the main license, and it refers to
     COPYING.GPLv3.txt and COPYING.LGPLv3.txt.  The other licenses are for
     third-party software included in the library.
 
+  * Development files in the 'devel' directory.  These are only needed if you
+    are developing C or C++ applications that use wimlib.
+
 Note that there are separate ZIP files for 32-bit (i686) and 64-bit (x86_64)
 binaries.  They are both fully supported, but you should prefer the 64-bit
 binaries when possible as they can be noticeably faster.
index 944c48cae60868cdc7cdbcaa1c8f1259a41e9eea..ac55fd2c982f939314b85371994c49d0bb862d8a 100644 (file)
  *
  * Download the Windows binary distribution with the appropriate architecture
  * (i686 or x86_64 --- also called "x86" and "amd64" respectively) from
- * https://wimlib.net.  Link your program with the libwim-15.dll file.  Make
- * sure to also download the source code so you can get wimlib.h, as it is not
- * included in the binary distribution.  If you need to access the DLL from
- * other programming languages, note that the calling convention is "cdecl".
+ * https://wimlib.net.  Link your program with libwim-15.dll.  If needed by your
+ * programming language or development environment, the import library
+ * libwim.lib and C/C++ header wimlib.h can be found in the directory "devel" in
+ * the ZIP file.
  *
- * Note that wimlib is developed using MinGW-w64, and there may be a little work
- * required if you plan to use the header and DLL with Visual Studio.
+ * If you need to access the DLL from non-C/C++ programming languages, note that
+ * the calling convention is "cdecl".
+ *
+ * If you want to build wimlib from source on Windows, see README.WINDOWS.  This
+ * is only needed if you are making modifications to wimlib.
  *
  * @section sec_examples Examples
  *
index 660e14703ae3a8652ce54b93b62cd073e28bd832..70cb5f6e19ca9a10b12d78b5d38c1f90b1f03eee 100755 (executable)
@@ -126,6 +126,12 @@ done
 
 gen_pdf_from_man_page wimlib-imagex
 
+# Install development files
+
+mkdir $DESTDIR/devel
+cp .libs/libwim.dll.a $DESTDIR/devel/libwim.lib
+cp include/wimlib.h $DESTDIR/devel/
+
 # Generate ZIP file
 
 rm -f $ZIPFILE