Michał Walenciak
6887822243
removing unused header generation
6 years ago
Luis Diaz Mas
0e02d46aa8
CMake: add mechanism to deprecate code
7 years ago
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
7 years ago
Luis Díaz Más
91a6e79d5c
CMake: Use cmake_dependent_option for EXIV2_ENABLE_NLS
7 years ago
Luis Díaz Más
274ef04f7e
CMake: Proper way to require c++98 standard
7 years ago
Luis Diaz Mas
611d6c7bbc
CMake: Move uninstall code to mainSetup
7 years ago
Luis Díaz Más
6ba4081f95
Use CMake-GenerateExportHeader to generate a macro to export symbols
...
- Delete the hardcoded macros in config.h taking care of that.
7 years ago
Luis Díaz Más
b78d85c9bb
Set default visibility to hidden
7 years ago
Luis Díaz Más
dce05ac488
Remove occurrences of EXIV2_BUILDDIR and rely in EXIV2_BINDIR
7 years ago
Luis Diaz Mas
17ad919ec2
CMake: Add RPATH configuration for Linux/Solaris
...
Note that this RPATH setup is following a recommendation from the CMake
documentation:
https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling#recommendations
7 years ago