Robin Mills
5486106ed5
Change MinGW package name from MinGW-64 to MinGW64 (and MinGW-32 to MinGW32)
7 years ago
Robin Mills
99ca43aa11
Ignore packages when generating a source package.
7 years ago
Robin Mills
4bb18a32ff
Use cmake option -DEXIV2_TEAM_PACKAGING
7 years ago
Robin Mills
dd030fc639
Fix FreeBSD to copy releasenotes/Linux/ReadMe.txt ( #497 )
7 years ago
Luis Diaz Mas
d6c6d469a9
CMake: Use add_definitions instead of add_compile_definitions
7 years ago
Luis Díaz Más
9980107586
Only include zlib directory when building the exiv2lib
7 years ago
Luis Díaz Más
4d47b08a16
CMake: Move gtest finding to unitTests folder
7 years ago
Luis Díaz Más
38b60a3e8e
CMake: Simplify Intl finding
7 years ago
Luis Díaz Más
b91c0a8898
resolve #536
7 years ago
Luis Díaz Más
38ed6de05d
MSVC: Move compile definitions from config.h to CMake.
...
+ Also remove inclusion of <Windows.h> from config.h
7 years ago
Luis Díaz Más
3009cc4c0c
Fix definition of EXV_ENABLE_NLS
7 years ago
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.
7 years ago
Luis Díaz Más
274ef04f7e
CMake: Proper way to require c++98 standard
7 years ago
Luis Díaz Más
244f00bf3a
CMake: Do not add conan global compiler flags
...
+ Add conan-gtest compile definitions for the unit_tests target
7 years ago
Luis Díaz Más
09ad415f1f
CMake: Define PROJECT_DESCRIPTION
7 years ago
Luis Díaz Más
46e6ced607
pkg-config file - paths depending on + Fix version
7 years ago
Luis Diaz Mas
f9389c4f1c
Rename exiv2.pc.cmake to exiv2.pc.in
7 years ago
Robin Mills
b608ad9fdd
Restore exiv2.pc in the mix ( #497 )
7 years ago
Luis Diaz Mas
611d6c7bbc
CMake: Move uninstall code to mainSetup
7 years ago
Robin Mills
33032bed8c
Changes in build.sh
...
Fixes while debugging build.sh and the CPack targets
7 years ago
Robin Mills
b953af18ea
Only copy samples/exifprint to package + Create source package from build.sh
7 years ago
Robin Mills
cbb42b25e3
Restore copying samples directory.
7 years ago
Robin Mills
5963b9517f
Only copy samples/exifprint.cpp to package
7 years ago
Robin Mills
40ff9b8423
Remove exiv2.pc from mix
7 years ago
Robin Mills
79ef0f0102
Fix error in packaging.cmake relating to file ReadMe.txt
7 years ago
Robin Mills
4a7a4fdb3e
Change package name for MinGW/32
7 years ago
Robin Mills
87278e6be3
MSYS2/MinGW: Disable Regex
7 years ago
Robin Mills
42084f2563
Add support for MinGW/msys2 in 32 bits + Updates in buildserver
7 years ago
Robin Mills
2b0ebd12ca
Release documentation and Documentation updates.
7 years ago
Robin Mills
5f6ef65695
Update PROJECT_VERSION & add install() commands for CPack
...
- Version updated to 0.27.0.1.
- Release notes for MacOS-X Package, Linux, CYGWIN, win64 and msvc
- Redmine Release Notes Updated.
7 years ago
Luis Díaz Más
dc086d2ebb
Default to /MD(d) even for STATIC builds.
...
We had issues to compile exiv2 due to a undefined symbol referenced in expat.lib (Explained in #487 ).
Static builds in Windows need to use msvcrt.lib where the missing symbol ("__imp__mbspbrk") was
defined. We can still decide to use the STATIC CRT library by using:
cmake -DBUILD_SHARED_LIBS=OFF -DEXIV2_ENABLE_DYNAMIC_RUNTIME=OFF
7 years ago
Luis Díaz Más
155b1a5a6b
CMake: Remove magic configuration about WEBREADY. Users will need to specify what to use.
7 years ago
Gilles Caulier
af44cec65f
Detect Regex lib with cmake instead of pkg_config
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
d46f7a8746
Remove deprecated stuff from config.h.cmake
7 years ago
Luis Díaz Más
808de65c37
Use CMake PROJECT_VERSION components in version files
7 years ago
Luis Díaz Más
5eb692d536
CPack: Add tweak number. Now packages include the tweak number in the name
7 years ago
Luis Díaz Más
f06b69fa56
CPack: ignore files for generating the sources tarball
7 years ago
Luis Díaz Más
085d8a309a
Remove COMMERCIAL Cmake variable
7 years ago
Luis Díaz Más
48e0b1d0c1
Remove obsolete lsm file
7 years ago
Luis Díaz Más
a6d82633c3
Enable WARNINGS_AS_ERRORS in CI jobs.
...
- Move the settings to other cmake file. This will not be used for XMP code
- Disable WARNINGS_AS_ERRORS for VS2008 and VS2010
7 years ago
Luis Díaz Más
18ded9ccf3
Use static version of libcurl.
...
Note that this will simplify the packaging/deployment
7 years ago
Luis Díaz Más
f47b0546ac
Make clear separation between linker and compiler flags
7 years ago
Luis Díaz Más
0bfa0168df
Cleanup some of the PACKAGE_XXX variables and rely in the ones given by the project() command
7 years ago
Luis Díaz Más
14ab688b7f
Provide more CPack variables
7 years ago
Luis Díaz Más
b2b04fe2d6
Use project() command to provide project version
...
- Note that we cannot find libiconv without saying that Exiv2 is also a C project
7 years ago
Luis Díaz Más
68f7c5e047
Use Cpack for generating the tarballs (TODO: document)
7 years ago
Luis Díaz Más
dce05ac488
Remove occurrences of EXIV2_BUILDDIR and rely in EXIV2_BINDIR
7 years ago
Luis Díaz Más
24be5a514e
[Appveyor] Build exiv2 with Visual Studio 2012 and 2013
...
- Integration tests had to be disabled with 2012 and 2013. There were
few (4) tests failing for these cases.
- Only bring libiconv with conan when a windows subsystem is detected.
- libiconv can be enabled now with a conan option.
- Use infinity instead of INFINITY
- Use conan_basic_setup(). Fixes a problem with gtest is VS2012
- call vcvarsall.bat for each compiler version so that nmake can be
found.
7 years ago
clanmills
3c42fdddeb
Fix include <exiv2/exiv2.hpp> to include exiv2/config.h (and consequential changes)
...
Fix cltest.cpp and version.cpp to report MSVC 2017 in which _MSC_VER == 1910
7 years ago
Hombre
a226d6a650
Fixing typo in cmakefiles and removing REGEX dependencie for Cygwin
7 years ago
Hombre
28da26f174
Adding MINGW32 toolchain support
7 years ago
Dan Čermák
10929cec7a
[CMake] Add EXIV2_TEAM_USE_SANITIZERS option
...
Setting this option enables address sanitizer and undefined behavior
sanitizer, when available for the given compiler & platform.
It does not currently check whether the architecture is supported,
as CMake does not offer an easy way how to check it. Since we are
mostly developing for x86 & amd64 this is not a huge problem and it's
also a developer only setting.
7 years ago
Luis Diaz Mas
a9c9451588
Remove localtime.c and any other trick to handle timegm
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
Luis Diaz Mas
6521f7c4f9
cmake: new option to enable compilations with coverage flags
...
Note that this will only work with gcc and clang.
7 years ago
Luis Díaz Más
5eee072089
Enable clcache usage and use it in appveyor
...
* [appveyor] Install clcache with nuget
* [appveyor] Keep clcache in the appveyor jobs
* [appveyor] Print clcache stats after compiling the project
* Use CLCACHE_PATH env variable to find clcache
7 years ago
Luis Díaz Más
bb9ce23e76
Set EXV_HAVE_XMP_TOOLKIT correctly. set() does not accept logical operators
7 years ago
Luis Diaz Mas
0d6abb5b51
Remove leftovers from autotools and .gitignore
7 years ago
Luis Diaz Mas
a3444f055e
Rename config folder to cmake
7 years ago