Commit Graph

190 Commits

Author SHA1 Message Date
clanmills
6d7a5266ea fix_1219_mingw_crw_date_0.27 2020-05-26 07:36:45 +01:00
Luis Díaz Más
9893d291b2 Prevent conflicts with uninstall target 2020-05-23 09:43:36 +02:00
Luis Díaz Más
6667e13c4b Only use __cplusplus trick from VS2017 2020-05-05 08:09:45 +02:00
clanmills
4511817028 MSVC Changes. Leave CMake to set /std:. Only set /Zc:__cplusplus for VS2019+. Updated README.md 2020-05-04 21:43:59 +01:00
Robin Mills
cd5512e761 WIP. C++11 support 2020-05-04 08:17:37 +01:00
clanmills
da91f04692 Don't report CMAKE_CXX_COMPILER - it's on the previous line of output. 2020-05-02 17:32:01 +01:00
clanmills
40602989eb Print summary to report compiler and c++ standard. 2020-05-02 17:15:24 +01:00
clanmills
b22d1de8b1 Remove add_compile_options(-std=gnu++98) 2020-05-02 15:11:30 +01:00
clanmills
65dde52cf9 Updated documentation. Removed -DEXIV2_BUILD_USE_C++11 2020-05-02 14:22:44 +01:00
clanmills
63a13e8620 Adding option -DEXIV2_BUILD_USE_C++11 2020-05-02 12:21:21 +01:00
Robin Mills
c51a8aa8ed Explicitly set compiler option -std=gnu++98 on Solaris 2020-04-30 14:13:23 +01:00
Robin Mills
47d89a56bb
Merge pull request #1176 from Exiv2/0.27_cxx_standard
fix_1163 Require c++98 privately only in library target
2020-04-28 15:23:56 +01:00
Robin Mills
1da92b2146
Merge pull request #1185 from Exiv2/update_release_notes_0.27
Update release notes v0.27.3 RC1
2020-04-27 17:06:26 +01:00
Robin Mills
920a03886e Use PROJECT_VERSION_TWEAK to identify RC# 2020-04-27 14:51:04 +01:00
clanmills
5f36bf46e8 Fix for issue identified in #1175 2020-04-24 15:38:50 +01:00
Luis Diaz Mas
fabfcac274 Require c++98 privately only in the library target 2020-04-23 17:15:27 +02:00
clanmills
b50d6503bc fix_1102_msysGCC93_0.27 2020-04-23 12:11:43 +01:00
Robin Mills
98adf41df9 Documentation maintenance 2020-04-22 12:56:49 +01:00
Robin Mills
fab9effd52 Fix definitions of VM, VN, VD and VR 2020-04-21 21:25:48 +01:00
Robin Mills
759d8ba022 enhanced_release_docs1_v0.27 2020-04-21 20:25:54 +01:00
clanmills
f9b83fc7c6 put test log into the build log. 2020-04-16 16:25:04 +01:00
clanmills
66d1bd7476 Fixing Solaris packaging. 2020-04-16 15:36:31 +01:00
clanmills
f6edeaea63 Add packaging support for Solaris 2020-04-16 15:24:27 +01:00
clanmills
13565be3d2 Change for solaris. 2020-04-15 16:53:03 +01:00
clanmills
e62bd8b94e fix_1158_0.27 2020-04-14 09:04:17 +01:00
Robin Mills
f0b15d40ef fix_packaging_0.27 2020-03-30 15:47:05 +01:00
clanmills
7658d8aefd fix_macOS_0.27 2020-03-28 08:08:28 +00:00
Robin Mills
d3444d4547 fix_GCC48 2020-03-26 13:21:38 +00:00
Andreas Sturmlechner
0890d66a6e EXIV2_ENABLE_SSH: Fix compatibility with >=libssh-0.9.2
0.9.1 remains broken regardless and is beyond fixing in this place.

Build-tested with both libssh 0.9.0 and 0.9.2.

Solution copied from KDE's kio-extras commit 24506c2af8d1904a99538543804306c6c2b81ca2
2019-11-14 17:15:53 +01:00
Luis Diaz
a62e35edb6 Remove compiler flag which is causing issues in Fedora_MinGW 2019-10-09 12:37:38 +02:00
Luis Diaz
907a5aef3b clang guard for -fstack-protector-strong 2019-10-09 12:37:38 +02:00
Luis Díaz Más
9a0889c744 FORTIFY not used on OSX 2019-10-09 12:37:38 +02:00
Luis Díaz Más
006dcde403 Better usage of --coverage flags 2019-10-09 12:37:38 +02:00
Luis Díaz Más
9c7c3c6d22 Allow to use new compiler flags in clang 2019-10-09 12:37:38 +02:00
Luis Díaz Más
1fa5839c8e cmake: use add_compile_option & add new security flags
- Replacement of CMAKE_CXX_FLAGS by add_compile_option where it was
  possible
- Addition of new compiler flags which are interesting in terms of
  software security
- Do not mix coverage flags with -O0 and -g
2019-10-09 12:37:38 +02:00
Robin Mills
de9ce41a14 Add README-SAMPLES.md to packages 2019-07-28 15:03:38 +02:00
Robin Mills
73c592cdc9 Change EXIV2_ENABLE_NLS default to Off, removed EXIV2_BUILD_PO. Documentation Update. Restored find_package(Intl REQUIRED) 2019-07-27 17:11:16 +02:00
Robin Mills
3ad2c8a525 fix_966_macosx_libintl_mono_framework 2019-07-27 17:11:16 +02:00
Andreas Sturmlechner
89d8160a41
Drop now obsolete FindSSH.cmake 2019-06-23 19:50:44 +02:00
Andreas Sturmlechner
e85ce17fc9
Switch to libssh's own libssh-config.cmake
This is provided by libssh since 2013.
2019-06-23 19:50:01 +02:00
Robin Mills
f4a37c63f2 version.cpp Pragma removed. Platform includes simplified.
cmake/packaging.cmake        Changed comment about VS version numbers
2019-05-12 16:41:58 +02:00
Robin Mills
955962eaa8 Code revisions after review by @piponazo 2019-05-12 16:41:58 +02:00
Robin Mills
b0a9cb5624 NetBSD/FreeBSD Support 2019-05-12 16:41:58 +02:00
Robin Mills
514ae0fa89 Fix #780 2019-04-18 08:33:12 +01:00
Luis Díaz Más
00f31f2d35 Replace check_function_exists by check_cxx_symbol_exist 2019-03-04 07:47:54 +01:00
Dan Čermák
d58ad1d056 [Doxygen] define PARSED_BY_DOXYGEN when building the documentation
This allows us to hide internal namespaces and some template magic which serves
little purpose to have in the API documentation
2019-03-02 17:24:44 +01:00
Luis Diaz Mas
aea51f5d41 [doxygen] disable generation of TODO list 2019-03-02 17:24:37 +01:00
Luis Diaz Mas
84baf3cec0 Update doxygen template to doxygen 1.8.13 2019-03-02 17:24:18 +01:00
Luis Diaz Mas
3b2e2cc442 Generate doxygen.hpp page 2019-03-02 17:24:10 +01:00
Michał Walenciak
6887822243 removing unused header generation 2019-02-02 09:53:05 +01:00
Luis Diaz Mas
eca3eb711a Do not tread deprecation warnings as errors 2019-01-15 13:02:34 +01:00
Luis Diaz Mas
25bfeb4245 Print deprecation warning in CMake report 2019-01-15 13:01:23 +01:00
Luis Diaz Mas
0e02d46aa8 CMake: add mechanism to deprecate code 2019-01-14 18:52:25 +01:00
Luis Díaz Más
04c9b181cc Fix #644. Export specializations of BasicError
- Only export BasicError::setMsg which is the only implementation present in the .cpp
- Only export BasicError specialization on __APPLE__

It seems that gcc automatically adds the attribute when the visibility
settings are set to hidden. See this link for more information:
https://reviews.llvm.org/D35388
2019-01-12 17:10:14 +01:00
Luis Diaz Mas
e706cca190 Fixes in .pc file for being compatible with more distributions 2019-01-12 13:39:12 +01:00
Luis Diaz Mas
acc9fa012d Reliable detection of strerror_r variants 2019-01-06 23:59:40 +01:00
Andreas Schneider
ad95969a08 cmake: Use correct installation dir for generated docs
Fixes #623

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit f8f63a8b4033549d47384c6e2b1972ae1a2775fc)
2019-01-05 13:08:49 +01:00
Robin Mills
38e2fb7ca7 Fix video/webready package name. 2018-12-09 18:54:40 +01:00
Robin Mills
6e14f4a3ba Fixing another typo! 2018-12-09 18:54:40 +01:00
Robin Mills
e7c9fc2d83 Fix typos is cmake/packaging.cmake 2018-12-09 18:54:40 +01:00
Robin Mills
97292aef66 Update packaging to respect Video, Webready and Edition of MSVC 2018-12-09 18:54:40 +01:00
Robin Mills
c32b413f74 Fix: https://github.com/Exiv2/exiv2/issues/575 2018-12-09 18:54:40 +01:00
Robin Mills
d8a15e1d13 Do not put "Clang" in the Darwin build bundle name. 2018-11-30 14:18:17 +01:00
Robin Mills
2ba7866f22 Restore cpack_source_generator 2018-11-30 14:18:17 +01:00
Robin Mills
cb5f0f29db Change how packaging detects Clang. 2018-11-30 14:18:17 +01:00
Robin Mills
5e75f51fde Correction to previous commit. 2018-11-30 14:18:17 +01:00
Robin Mills
985d0492e2 Updating packaging for clang: Platform[{64|32}][Clang][Static][Debug] 2018-11-30 14:18:17 +01:00
Robin Mills
b944b2ace7 packaging cleanup 2018-11-30 14:18:17 +01:00
Robin Mills
f97c38d44a Change package names Platform{64|32}[Static][Debug] 2018-11-30 14:18:17 +01:00
Robin Mills
045af8ea36 add logs to the build bundle 2018-11-30 14:18:17 +01:00
Robin Mills
a18c24249a Add packaging changes for CYGWIN64/CYGWIN32 and Linux32 2018-11-30 14:18:17 +01:00
Robin Mills
6f437bcc0a Add cmake/msvc_conan_profiles 2018-11-30 14:18:17 +01:00
Luis Díaz Más
f92030d650 CMake: remove XMPSRC variable. 2018-11-26 15:23:30 +01:00
Luis Diaz Mas
3f2e0de0db Print CMAKE_BUILD_TYPE after configuring the project 2018-11-22 18:19:08 +01:00
Luis Díaz Más
186352e295 conan: copy 3rd party dlls only if the conanDlls folder exists
Note that this folder will only exists if at least one of the conan packages managed with the shared option = True.
2018-11-20 22:02:05 +01:00
Luis Díaz Más
91a6e79d5c CMake: Use cmake_dependent_option for EXIV2_ENABLE_NLS 2018-11-16 17:23:47 +01:00
Robin Mills
e66c832008 Exiv2 v0.27.0.2 Documentation updates for localisation. 2018-11-16 17:23:47 +01:00
Robin Mills
9255fc2b4e Doxyfile.in and website/doxygen/Doxyfile have been rationalised/simplified.
website/doxgen/Doxyfile is copied from cmake/Doxyfile.in and patched to deliver website look'n'feel.
website is stored in svn://dev.exiv2.org/svn/team/website
2018-11-16 17:23:47 +01:00
Robin Mills
906870e514 Do not store test/tmp in package_source. 2018-11-16 17:23:47 +01:00
Robin Mills
5486106ed5 Change MinGW package name from MinGW-64 to MinGW64 (and MinGW-32 to MinGW32) 2018-11-16 17:23:47 +01:00
Robin Mills
99ca43aa11 Ignore packages when generating a source package. 2018-11-16 17:23:47 +01:00
Robin Mills
4bb18a32ff Use cmake option -DEXIV2_TEAM_PACKAGING 2018-11-16 17:23:47 +01:00
Robin Mills
dd030fc639 Fix FreeBSD to copy releasenotes/Linux/ReadMe.txt (#497) 2018-11-16 17:23:47 +01:00
Luis Diaz Mas
d6c6d469a9 CMake: Use add_definitions instead of add_compile_definitions 2018-11-16 12:10:11 +01:00
Luis Díaz Más
9980107586 Only include zlib directory when building the exiv2lib 2018-11-14 19:53:59 +01:00
Luis Díaz Más
4d47b08a16 CMake: Move gtest finding to unitTests folder 2018-11-14 19:53:59 +01:00
Luis Díaz Más
38b60a3e8e CMake: Simplify Intl finding 2018-11-13 20:12:58 +01:00
Luis Díaz Más
b91c0a8898 resolve #536 2018-11-13 20:12:58 +01:00
Luis Díaz Más
38ed6de05d MSVC: Move compile definitions from config.h to CMake.
+ Also remove inclusion of <Windows.h> from config.h
2018-11-11 12:27:26 +01:00
Luis Díaz Más
3009cc4c0c Fix definition of EXV_ENABLE_NLS 2018-11-11 12:27:26 +01:00
Luis Díaz Más
307cb27d31 Move find_package(MSGFMT) to po/CMakeLists.txt.
We do not want to find the package unless the PO option is enabled.
2018-11-11 12:27:26 +01:00
Luis Díaz Más
274ef04f7e CMake: Proper way to require c++98 standard 2018-11-08 17:26:02 +01:00
Luis Díaz Más
244f00bf3a CMake: Do not add conan global compiler flags
+ Add conan-gtest compile definitions for the unit_tests target
2018-11-06 08:02:33 +01:00
Luis Díaz Más
09ad415f1f CMake: Define PROJECT_DESCRIPTION 2018-11-03 09:37:32 +01:00
Luis Díaz Más
46e6ced607 pkg-config file - paths depending on + Fix version 2018-11-03 09:37:32 +01:00
Luis Diaz Mas
f9389c4f1c Rename exiv2.pc.cmake to exiv2.pc.in 2018-11-01 22:20:27 +01:00
Robin Mills
b608ad9fdd Restore exiv2.pc in the mix (#497) 2018-11-01 22:20:27 +01:00
Luis Diaz Mas
611d6c7bbc CMake: Move uninstall code to mainSetup 2018-10-30 15:26:23 +01:00
Robin Mills
33032bed8c Changes in build.sh
Fixes while debugging build.sh and the CPack targets
2018-10-26 17:47:15 +02:00
Robin Mills
b953af18ea Only copy samples/exifprint to package + Create source package from build.sh 2018-10-26 17:47:15 +02:00