Luis Díaz Más
f39b23806b
Assume existence of stdint.h
5 years ago
Luis Diaz Mas
bfd0e0593b
Use check_cxx_compiler_flags instead of C version
5 years ago
Robin Mills
0005edf2f9
fix_solaris_stack_protection_0.27
5 years ago
Robin Mills
ff0671ccb7
Merge pull request #1275 from jtojnar/fix-paths-0.27
...
cmake: Fix paths with absolute GNUInstallDirs
5 years ago
Jan Tojnar
48f2c9dbba
cmake: Fix paths with absolute GNUInstallDirs
...
It is not generally true that `CMAKE_INSTALL_<dir>` variables are relative paths:
https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path
Let's join them properly as paths, not strings.
On Windows, the absolute paths will likely remain unsupported as neither the CMake function,
nor the C++ code is able to detect absolute paths.
Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
5 years ago
clanmills
1a2300565a
fix_1276_BUILD_PO_0.27
5 years ago
Thomas Petazzoni
bbe0b70840
Properly detect availability of flags in cmake/compilerFlags.cmake ( #1252 )
...
Instead of relying on fragile and complex logic to decide if a
compiler flag is available or not, use the check_c_compiler_flag()
macro provided by the CMake standard library.
This for example avoids using -fcf-protection on architectures that
don't support this option.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit dd2d181755a6e642c0a8e3225ef5407fff49eb3a)
When resolving the conflict from applying the patch, I also took the liberty
of re-indenting the snippet correcly and fixing mismatching
HAS_FCF_PROTECTION and HAS_FSTACK_PROTECTOR_STRONG variables
(the conditionals used GCC_ prefix but the variables were definded without it).
Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
5 years ago
Robin Mills
c85e504faf
Disable libiconv support when building with Visual Studio.
5 years ago
clanmills
6d7a5266ea
fix_1219_mingw_crw_date_0.27
5 years ago
Luis Díaz Más
9893d291b2
Prevent conflicts with uninstall target
5 years ago
Luis Díaz Más
6667e13c4b
Only use __cplusplus trick from VS2017
5 years ago
clanmills
4511817028
MSVC Changes. Leave CMake to set /std:. Only set /Zc:__cplusplus for VS2019+. Updated README.md
5 years ago
Robin Mills
cd5512e761
WIP. C++11 support
5 years ago
clanmills
da91f04692
Don't report CMAKE_CXX_COMPILER - it's on the previous line of output.
5 years ago
clanmills
40602989eb
Print summary to report compiler and c++ standard.
5 years ago
clanmills
b22d1de8b1
Remove add_compile_options(-std=gnu++98)
5 years ago
clanmills
65dde52cf9
Updated documentation. Removed -DEXIV2_BUILD_USE_C++11
5 years ago
clanmills
63a13e8620
Adding option -DEXIV2_BUILD_USE_C++11
5 years ago
Robin Mills
c51a8aa8ed
Explicitly set compiler option -std=gnu++98 on Solaris
5 years ago
Robin Mills
47d89a56bb
Merge pull request #1176 from Exiv2/0.27_cxx_standard
...
fix_1163 Require c++98 privately only in library target
5 years ago
Robin Mills
1da92b2146
Merge pull request #1185 from Exiv2/update_release_notes_0.27
...
Update release notes v0.27.3 RC1
5 years ago
Robin Mills
920a03886e
Use PROJECT_VERSION_TWEAK to identify RC#
5 years ago
clanmills
5f36bf46e8
Fix for issue identified in #1175
5 years ago
Luis Diaz Mas
fabfcac274
Require c++98 privately only in the library target
5 years ago
clanmills
b50d6503bc
fix_1102_msysGCC93_0.27
5 years ago
Robin Mills
98adf41df9
Documentation maintenance
5 years ago
Robin Mills
fab9effd52
Fix definitions of VM, VN, VD and VR
5 years ago
Robin Mills
759d8ba022
enhanced_release_docs1_v0.27
5 years ago
clanmills
f9b83fc7c6
put test log into the build log.
5 years ago
clanmills
66d1bd7476
Fixing Solaris packaging.
5 years ago
clanmills
f6edeaea63
Add packaging support for Solaris
5 years ago
clanmills
13565be3d2
Change for solaris.
5 years ago
clanmills
e62bd8b94e
fix_1158_0.27
5 years ago
Robin Mills
f0b15d40ef
fix_packaging_0.27
5 years ago
clanmills
7658d8aefd
fix_macOS_0.27
5 years ago
Robin Mills
d3444d4547
fix_GCC48
5 years ago
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
6 years ago
Luis Diaz
a62e35edb6
Remove compiler flag which is causing issues in Fedora_MinGW
6 years ago
Luis Diaz
907a5aef3b
clang guard for -fstack-protector-strong
6 years ago
Luis Díaz Más
9a0889c744
FORTIFY not used on OSX
6 years ago
Luis Díaz Más
006dcde403
Better usage of --coverage flags
6 years ago
Luis Díaz Más
9c7c3c6d22
Allow to use new compiler flags in clang
6 years ago
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
6 years ago
Robin Mills
de9ce41a14
Add README-SAMPLES.md to packages
6 years ago
Robin Mills
73c592cdc9
Change EXIV2_ENABLE_NLS default to Off, removed EXIV2_BUILD_PO. Documentation Update. Restored find_package(Intl REQUIRED)
6 years ago
Robin Mills
3ad2c8a525
fix_966_macosx_libintl_mono_framework
6 years ago
Andreas Sturmlechner
89d8160a41
Drop now obsolete FindSSH.cmake
6 years ago
Andreas Sturmlechner
e85ce17fc9
Switch to libssh's own libssh-config.cmake
...
This is provided by libssh since 2013.
6 years ago
Robin Mills
f4a37c63f2
version.cpp Pragma removed. Platform includes simplified.
...
cmake/packaging.cmake Changed comment about VS version numbers
6 years ago
Robin Mills
955962eaa8
Code revisions after review by @piponazo
6 years ago