- 2015.06.16 17:51 "Re: [Tiff] CMake support for building libtiff", by Lee Howard
- 2015.06.17 03:16 "Re: [Tiff] CMake support for building libtiff", by Bob Friesenhahn
-
2015.06.17 22:38 "Re: [Tiff] CMake support for building libtiff", by Roger Leigh
-
2015.06.18 22:08 "Re: [Tiff] CMake support for building libtiff", by Roger Leigh
-
2015.06.19 11:54 "Re: [Tiff] CMake support for building libtiff", by Roger Leigh
-
2015.07.02 07:10 "[Tiff] [patch] Additional CMake fixes", by Roger Leigh
- 2015.07.04 22:10 "Re: [Tiff] [patch] Additional CMake fixes", by Bob Friesenhahn
-
2015.08.29 11:34 "[Tiff] [patch] Docs for cmake build and some minor tweaks", by Roger Leigh
- 2015.08.29 15:36 "Re: [Tiff] [patch] Docs for cmake build and some minor tweaks", by Bob Friesenhahn
-
2015.08.31 15:12 "[Tiff] [patch] cmake fixes", by
- 2015.08.31 15:34 "Re: [Tiff] [patch] cmake fixes", by Bob Friesenhahn
-
2015.07.02 07:10 "[Tiff] [patch] Additional CMake fixes", by Roger Leigh
- 2015.06.19 13:53 "Re: [Tiff] CMake support for building libtiff", by Rhys Thomas
-
2015.06.19 11:54 "Re: [Tiff] CMake support for building libtiff", by Roger Leigh
-
2015.06.19 13:41 "Re: [Tiff] 4.0.4beta: Symbol differences on Unix and Windows", by Bob Friesenhahn
- 2015.06.18 21:56 "[Tiff] 4.0.4beta: Symbol differences on Unix and Windows", by Roger Leigh
-
2015.06.18 22:08 "Re: [Tiff] CMake support for building libtiff", by Roger Leigh
- 2015.06.25 02:32 "Re: [Tiff] CMake support for building libtiff", by Bob Friesenhahn
2015.08.31 18:14 "Re: [Tiff] [patch] cmake fixes", by Roger Leigh
On 31/08/2015 16:34, Bob Friesenhahn wrote:
On Mon, 31 Aug 2015, rleigh@codelibre.net wrote:
See attached patches.
I will look at these changes in perhaps 12 hours.
Is there any way to integrate CMake into the Automake 'distcheck' target? This would be very helpful to assure that we don't release tarballs with missing files, and that everything is still working.
Other projects support both Autotools and CMake so perhaps some other project has already figured this out?
Patch attached to make it run cmake as part of 'distcheck'. Note that this makes it require cmake 3.0.0 or later for this target to work, and it also requires the patch 03 from my previous email for the tests to pass.
Regards,
Roger
Index: Makefile.am
=================================================================== RCS file: /cvs/maptools/cvsroot/libtiff/Makefile.am,v retrieving revision 1.23
diff -u -r1.23 Makefile.am
--- Makefile.am 30 Aug 2015 21:26:45 -0000 1.23
+++ Makefile.am 31 Aug 2015 18:05:43 -0000
@@ -49,6 +49,16 @@
dist_doc_DATA = $(docfiles)
+distcheck-hook:
+ mkdir $(distdir)/_build/cmake \
+ && cd $(distdir)/_build/cmake \
+ && cmake ../.. \
+ && $(MAKE) \
+ && ctest -V \
+ && $(MAKE) DESTDIR=../_inst/cmake install \
+ && $(RM) -r $(distdir)/_build/cmake \
+ && $(RM) -r $(distdir)/_inst/cmake
+
SUBDIRS = port libtiff tools build contrib test man html
release: