From 116ab9a238e7374abb6a7da02c5957cfc1955d3b Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 21 Nov 2016 20:39:01 +0100 Subject: [PATCH] Add note about Cygwin in README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0e3046d..6288b91 100644 --- a/README.md +++ b/README.md @@ -23,16 +23,17 @@ The library utilizes: #### Build-only dependencies * C++ compiler supporting C++11, tested with - GNU g++ - - mingw-w64 - Clang -* CMake, tested 3.5.1 and 3.6.0 + - mingw-w64 g++ + - Cygwin g++ +* CMake (at least 3.3.0) * cppunit for unit tests (optional) * Doxygen for API documentation (optional) * Graphviz for diagrams in the API documentation (optional) #### Runtime dependencies * The c++utilities library itself only needs - - the C/C++ standard library + - C/C++ standard library supporting C++11 - libiconv (might be part of glibc or provided as extra library) * For dependencies of my other projects check the README.md of these projects. @@ -68,7 +69,8 @@ make DESTDIR="/temporary/install/location" install-mingw-w64-strip During development I find it useful to build all required projects (for instace c++utilities, qtutilities, tagparser and tageditor) as one big project. This can be easily achieved by using CMake's ```add_subdirectory()``` function. For project files -see the repository [subdirs](https://github.com/Martchus/subdirs). +see the repository [subdirs](https://github.com/Martchus/subdirs). For an example, see +[build instructions for Syncthing Tray](https://github.com/Martchus/syncthingtray#building-this-straight). For a debug build, just use ```-DCMAKE_BUILD_TYPE=Debug```. @@ -80,10 +82,15 @@ PKGBUILD files to build for Windows using the Mingw-w64 compiler are also includ #### RPM packages RPM \*.spec files can be found at [openSUSE Build Servide](https://build.opensuse.org/project/show/home:mkittler). +Those files have only been tested under Tumbleweed so far. #### Gentoo Packages are provided by perfect7gentleman; checkout his [repository](https://github.com/perfect7gentleman/pg_overlay). +#### Cygwin +Scripts to build with Cygwin are provided by svnpenn. Checkout his +[repository](https://github.com/svnpenn/glade). + ### General notes * There is a workaround for [GCC Bug 66145](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145) provided in io/catchiofailure.h.