Luis Díaz Más
8baf07decb
Fix warnins reported by -Wunused-variable
...
This trick is a bit nasty but I do not want to mess up to much with the
XMPSample application at this moment. Once we have more unit tets for
that part of the code, the xmpsample could disappear.
2018-05-31 14:44:24 +02:00
Luis Díaz Más
335607054c
Use enforce instead of std::assert to fix warning about unused variable in realease mode
2018-05-31 14:44:24 +02:00
Luis Diaz Mas
773bdfd14e
Create a header where to keep an unique definition of UNUSED
2018-05-31 14:44:24 +02:00
Dan Čermák
79f8d63a8b
Whitespace cleanup
2018-05-16 10:15:53 +02:00
Dan Čermák
5e36363138
Fix double promotion issues
2018-05-16 10:15:53 +02:00
Dan Čermák
bc58752d18
Remove useless casts
...
This commit removes only casts where type A is cast to the exactly same
type (and not to a platform dependent typedefs)
2018-05-16 10:15:53 +02:00
Luis Díaz Más
d55b2b1b65
Remove HAVE_STDLIB_H check and replace stdlib.h by cstdlib
2018-05-04 11:20:43 +02:00
Mario Emmenlauer
548d7688c7
samples/geotag.cpp: fixed debugging code to be in the correct ifdef
2018-04-08 07:45:48 +02:00
Dan Čermák
8b7941b733
[cmake] Add EXTRA_COMPILE_FLAGS to samples & unitTests
...
Add the additional compiler flags added by -DEXIV2_TEAM_EXTRA_WARNINGS=ON to
the targets in samples/ & unitTests/
This fixes #204
2018-03-29 13:17:24 +02:00
Luis Díaz Más
d21e794239
Do not deference value when it does not exist (Thanks D4N)
2018-03-20 21:30:06 +01:00
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
2018-02-18 09:28:57 +01:00
Robin Mills
8f5b795eaa
Fixes to autotools build to respect mn_int.cpp files ( #186 )
...
* Fixes to autotools build to respect mn_int.cpp files
* Changes following Luis' code review.
2017-12-11 16:48:07 +01:00
tbeu
2efc2e79da
Remove obsolete id
2017-11-19 11:17:12 +01:00
tbeu
5df8b01b77
Remove obsolete svn revision
2017-11-19 11:17:11 +01:00
Luis Díaz Más
3dbc7c1969
Fix compilation on Windows
2017-10-03 21:07:43 +02:00
Robin Mills
22aaff8682
Fix cmakeBuild.cmd --static to use zlibstatic.lib
2017-09-15 20:15:58 +01:00
clanmills
d366943297
Refactoring EXV_USE_CURL and EXV_USE_SSH
2017-09-13 16:54:10 +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
Robin Mills
78e7cc8f69
Fixing samples/Makefile on linux
2017-08-23 10:07:31 +01:00
Robin Mills
b5cac373b1
Merge pull request #39 from Exiv2/autotoolsMacLink
...
./configure --with-adobe[=2016|2014|2013] for MacOSX
2017-08-23 08:04:48 +01:00
Andreas Sturmlechner
a768b85191
Lowercase target_link_libraries
2017-08-22 18:21:28 +02:00
Andreas Sturmlechner
1fc319c0e4
Lowercase add_custom_target, configure_file, install macros
2017-08-22 18:21:28 +02:00
Andreas Sturmlechner
40565761d1
Lowercase add_{definitions,subdirectory}, set{_*} and option macros
2017-08-22 18:21:18 +02:00
clanmills
573b2cfcd2
XMPsdk fixes. 2013 and 2016 build and (mostly) pass the test suite.
2017-08-22 14:34:01 +01:00
Luis Diaz Mas
90e8ad8a72
Only set CMAKE_RUNTIME_OUTPUT_DIRECTORY once
2017-08-21 23:24:19 +02:00
Luis Díaz Más
6a00d4b282
Move code from CMake_msvc.txt to config/compilerFlags.cmake
2017-08-21 22:39:26 +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
c415e7f509
Fix CMake configuration when XMP is disabled. Check XMP variable instead LIBXMP
2017-08-20 16:54:49 +02:00
Luis Diaz Mas
35c3e31958
Fixes for MSVC case
2017-08-18 13:55:45 +02:00
Luis Diaz Mas
27cde135d9
Remove more useless include_directories
2017-08-18 13:55:45 +02:00
Luis Diaz Mas
f5f5826c03
Use target_sources to extend the list of sources in exceptional situations
2017-08-18 13:55:45 +02:00
Luis Díaz Más
0ebd53b1fa
Simplify CMake code, and unify to lower case commands
2017-08-18 13:55:44 +02:00
Luis Díaz Más
73f53cc6f9
Move sample applications from src/CMakeLists.txt to samples/CMakeLists.txt
2017-08-18 13:55:44 +02:00
Luis Diaz Mas
b387d58507
Remove EXPAT_LIBRARIES from where it is not needed (already inherited from exiv2lib target)
2017-08-16 17:53:21 +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
clanmills
2e816165ea
Changes to autotools to support C++11 (work in progress)
2017-08-12 14:48:38 +01:00
Luis Díaz Más
291726ae45
The geotag sample depends on EXIV2_ENABLE_LIBXMP
2017-08-10 19:54:01 +02:00
Luis Díaz Más
b6885c8028
Since we are requiring CMake 3.1 we can remove the usage of PRIVATE_VAR and use directly PRIVATE or PUBLIC
2017-08-10 19:39:07 +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
Robin Mills
82dbe6199d
https://github.com/Exiv2/exiv2/issues/11 Closed. Coincidentally Raphael reported issues with Visual Studio 2015 Community Edition. Issue 11 and Raphael's issues should now be resolved.
2017-06-29 22:13:26 +01: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
draekko
f23dc54b9c
Adding xmpprint sample
2017-05-29 12:13:04 -04:00
clanmills
038fe6cb94
#1233 Fixed bug in samples/geotag.cpp
2017-05-08 10:57:28 +01:00
Robin Mills
7b882f121a
#1175 more cast ripples on GCC5/Linux
2017-04-23 20:08:03 +00:00
Robin Mills
1ff0bef409
#1175 Correction to r4597 Additional file (which, in error, I didn't to commit)
2017-04-23 11:00:17 +00:00
Robin Mills
67859f4f4e
#1175 I'm going to accept the recommendation to change BasicIo::size() to return size_t. This passes the test suite. The only "ripple" outside of basicio is to iotest.cpp. This change enables several casts to be removed.
2017-04-19 17:03:54 +00:00
Robin Mills
73047ce568
#1279 Correction to r4748 which broke the CMake build.
2017-03-27 09:04:12 +00: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
6d5c2c3256
Getting ready to release v0.26
2017-03-08 20:42:28 +00:00
Robin Mills
6ea3b00b02
#1249 Fixes
2016-10-23 22:25:58 +00:00