Miloš Komarčević
c04dcc8341
Remove exiv2-xmp from CMake exported config
2023-05-16 20:32:21 +03:00
Luis Díaz Más
83a4fd5081
cmake: exiv2-xmp is now an OBJECT library
2022-04-01 18:14:19 +02:00
Luis Díaz Más
6c2141959a
conan - change generator to be able to use latest expat version
2021-05-17 07:31:45 +02:00
Luis Díaz Más
6c0059b5a0
cmake: Treat xmpsdk headers as system ones
...
This is done so that when we use EXIV2_TEAM_EXTRA_WARNINGS we do not get
warnings about XMPSDK (we do not want to deal with those)
2021-04-18 18:49:58 +02:00
Luis Díaz Más
50d5887e65
localtime_r support on MinGW
2021-04-18 09:44:51 +02:00
Luis Díaz Más
8dc42199e8
Hide exiv2-xmp dependency in CMake config file:
2020-10-17 17:05:12 +02:00
Luis Díaz Más
f39b23806b
Assume existence of stdint.h
2020-09-16 21:53:49 +02:00
Andreas Schneider
189da93480
xmpsdk: Build with -DBanAllEntityUsage=1
...
Prevent a denial-service-attack related to XML entity expansion
("billion laughs attack").
See https://bugzilla.redhat.com/show_bug.cgi?id=888769
Search for BanAllEntityUsage in xmpsdk/src/ExpatAdapter.cpp
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit e44d1dbe769f3b60a3d671be310f4af4f9490e6b)
2019-01-05 13:08:49 +01:00
Andreas Schneider
6062b1b803
cmake: Rename xmp to exiv2-xmp to avoid name conflicts
...
There is already a libxmp file by the xmp project on https://xmp.sf.net .
To avoid issues prefix with exiv2.
Fixes #624
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 89509d7a3915ba474cbc3f8c85ab9bec4954ceda)
2019-01-05 13:08:49 +01:00
Luis Díaz Más
bc940231e7
Define XML_STATIC only for MSVC
2018-11-26 15:23:30 +01:00
Luis Díaz Más
4752b66bed
CMake: Remove XML_STATIC definition that is not needed with expat 2.2.6
2018-11-26 15:23:30 +01:00
Luis Díaz Más
f92030d650
CMake: remove XMPSRC variable.
2018-11-26 15:23:30 +01:00
Luis Diaz Mas
4afb61411c
Remove xmp visibility flags. Already done in cmake/mainSetup.cmake
2018-10-30 15:26:23 +01:00
Borchers, Henry Samuel
11e66c6c9e
BUILD_INTERFACE for include directories use PROJECT_SOURCE_DIR to allow for being built as a CMake subproject
2018-10-07 19:20:37 +02:00
Luis Diaz Mas
2784b1f7f7
Remove EXIV2_ENABLE_LIBXMP variable, always build static XMP library, remove cmake OBJECT library
2017-10-03 19:54:57 +02:00
Luis Díaz Más
686edde5ef
Provide exiv2Config file automatically generated by CMake
2017-10-01 18:21:52 +02:00
Robin Mills
c71322bff7
Correction for buildbreaker in 2f010487
2017-09-29 11:04:17 +01:00
Luis Díaz Más
8ad49f6d73
Robin changes in sync with master changes
2017-09-28 19:42:57 +02:00
clanmills
678e2b8517
Explicitly list files to be processed CMake generated builds [remove file(GLOB...)]
2017-09-22 10:05:11 +01:00
clanmills
35c244e911
AdobeXMPsdk. Revert most of xmpsdk/CMakeLists.txt to enable debugging with Xcode.
2017-09-14 17:42:28 +01:00
Robin Mills
60d436c969
Many changes to CMakeLists.txt and cmakeBuild.cmd to support unicode, static linking, passing shared library build flags.
2017-09-05 21:36:56 +01:00
Luis Díaz Más
c1c6c42834
Do not use certain compiler flags on windows
2017-09-03 18:41:21 +02:00
Luis Díaz Más
d206604743
Fix some compilation issues with the xmp
2017-09-03 16:35:41 +02:00
Luis Díaz Más
557d056add
Fix linking issues with EXPAT and the xmp static library (on windows)
2017-09-03 16:35:41 +02:00
Luis Diaz Mas
a478a74915
Simplify CMake logic for some compiler options related to the XMP target
2017-08-21 23:19:47 +02:00
Luis Diaz Mas
3b2372e906
Remove remaining call to CMake_msvc.txt
2017-08-21 23:19:05 +02:00
Andreas Sturmlechner
aa6374b202
Use more GNUInstallDirs
...
Conveniently fixes multiarch install dir issues.
2017-08-21 00:12:33 +02:00
Luis Diaz Mas
40d10639e2
Reuse XMP OBJECT library in the exiv2lib when EXIV2_ENABLE_LIBXMP=OFF
2017-08-16 17:49:09 +02:00
Luis Diaz Mas
2d011691f2
Compile XMP sources as an OBJECT Library
2017-08-16 17:32:45 +02:00
Luis Diaz Mas
b4a2b822c2
Remove usage of global variable INSTALL_TARGET_STANDARD_ARGS. Specify install destinitions in each target
2017-08-14 08:28:24 +02:00
Luis Díaz Más
acf8ebd254
Propagate EXPAT include directories and libraries with the xmp target
2017-08-10 19:55:10 +02:00
Luis Díaz Más
36e12a4f37
Add XML_STATIC definition in xmp library to fix problems finding symbols. Link always with EXPAT_LIBARIES
2017-08-10 19:39:58 +02:00
clanmills
122cd5737f
Cosmetic modifications to Pull-21. Fix to ensure Cygwin uses #include <unistd.h>
2017-08-09 23:41:42 +01:00
Luis Diaz Mas
7cf676efbb
EXV_HAVE_STDINT_H needs to be defined to compile XMPSDK
2017-08-08 22:14:43 +02:00
clanmills
290164d1b6
Work in progress: https://github.com/Exiv2/exiv2/issues/3
...
Tested on MacOS-X. I'll test Linux/Cygwin/MSVC and close if good.
2017-06-05 13:25:14 +01:00
Robin Mills
be0945016b
#1269 Thank You to Ben for reporting this and providing the patch.
2017-03-17 12:58:18 +00:00
Robin Mills
0abf56f71b
#1236 CMake build on MinGW.
2016-09-30 16:45:54 +00:00
Robin Mills
7adaf71d44
#1187 and #1041 . Fixing CMake/Linux build breakers concerning libpthread
2016-06-05 06:15:30 +00:00
Robin Mills
ac778afbe7
#1123 . Hide xmpsdk symbols when building with CMake.
2015-10-03 20:05:05 +00:00
Robin Mills
64fc582be8
#1119 . Thank You, Emmanuel for your help and patch.
2015-09-23 14:14:10 +00:00
nkbj
b8fd35dda7
Check for CMake policies before they are used to ensure compatibility with CMake 2.8.12. Set CMake 2.8.12 as minimum requirement.
2015-01-25 05:17:39 +00:00
Robin Mills
d393b0fa7e
trunk: exiv2 v0.25
2014-12-25 13:55:57 +00:00
Robin Mills
83c25ef274
Fix. Issue: #852 . libxmp should not be linked with expat. Thanks Daniel for providing the patch.
2012-10-06 22:11:55 +00:00
Robin Mills
67fe779212
MSVC/video port. Simplification of basicio.{hpp|cpp}. CMake updates to eliminate warnings in Cygwin. By default, don't build intl with CMake.
2012-09-21 15:43:19 +00:00
Robin Mills
159b2d285b
MSVC/video port. Fixing code to build on Linux (and Cygwin).
2012-09-20 04:18:42 +00:00
Andreas Huggel
9b131f3c61
Merge branch 'gsoc2012'
2012-08-20 15:33:32 +00:00
Robin Mills
a292d57fd8
Feature #536 Modifications to CMake files to support MSVC 32/64 bit builds of Dynamic/Static libraries and applications.
2012-06-03 21:51:57 +00:00
HumanDynamo
faf00a6451
polish
2012-03-27 11:11:28 +00:00
Andreas Huggel
370af5c8a3
Merged all changes from the unstable branch into the trunk.
2009-11-27 05:59:23 +00:00