Commit Graph

77 Commits

Author SHA1 Message Date
Luis Díaz Más
31a51fda8a Replace EXIV2_ENABLE_SHARED by BUILD_SHARED_LIBS. Also use EXV_HAVE_DLL only for the exiv2lib target 2017-08-24 17:59:41 +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
Andreas Sturmlechner
06b20523f7 Lowercase if/else/endif/foreach/endforeach 2017-08-22 18:11:46 +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
64bbe802e2 Install exv_conf.h properly 2017-08-14 08:28:55 +02:00
Luis Díaz Más
ea0c4899ff Remove exv_msvc.h. It has the same content than exv_conf.h and we were getting lot of warnings when compiling with MSVC 2017-08-09 23:05:06 +02:00
Luis Diaz Mas
252d738b6c Include xmpsdk/include only in the needed target. Remove other uneeded usages of INCLUDE_DIRECTORIES and LINK_DIRECTORIES 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
81cb503f7b Handle EXV_HAVE_INTTYPES_H in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
f84d9cc871 Move FindIConv to findDependencies 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
1b7729a836 Remove unused CMake calls from CMakeChecks.txt 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
db5ce5ed82 Remove few unused variables declared in CMakeChecks.txt 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
28d2d59dd0 Handle UNICODE_PATH in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
43f538c80d Handle HAVE_REGEX in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
367d3b8a1e Remove unused HAVE_WCHAR_H variable 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
2887a0dbad Remove unused HAVE_VPRINTF variable 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
911832d70a Handle HAVE_TIMEGM variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
8c7596054c Handle HAVE_SYS_TYPES_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
d85a7c6751 Remove unused HAVE_SYS_TIME_H and TM_IN_SYS_TIME variables 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
b6b7980afd Handle HAVE_SYS_STAT_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
18b8c4dfa0 Handle HAVE_SYS_MMAN_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
6cef95a25d Handle HAVE_STRTOL variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
1a34a55383 Handle HAVE_STRINGS_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
b864365a20 Handle STRERROR variables in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
d1a8ff23ba Handle HAVE_STRCHR variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
4aee441374 Handle HAVE_STDLIB_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
1d1fb30bcf Handle HAVE_STDINT_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
1e7c747ad8 Handle HAVE_STDBOOL_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
bfb849859a Remove unused variable HAVE__BOOL 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
72e12cdbf2 Remove unused variable HAVE_REALLOC 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
6a53b149d1 Handle HAVE_PROCESS_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
7ecfa3a0a8 Handle ENABLE_PRINTUCS2 variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
4b738b77ab Handle HAVE_MUNMAP variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
cfb0878b1e Handle HAVE_MMAP variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
a68e5aca0d Handle HAVE_MEMSET variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
07de94e1a0 Handle HAVE_MEMORY_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
d8ada323e3 Remove unused MALLOC variables 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
815aacd316 Handle HAVE_LIBZ variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
03da6c039e Remove HAVE_LIBINTL_H (already modernized in other commit) 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
a74b0b4e6e Handle HAVE_LENSDATA variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
8e103d23f2 Handle HAVE_ICONV variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
147523f132 Add usage of EXV_HAVE_DECL_STRERROR_R with CMake 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
5c78c82f20 Handle ENABLE_WEBREADY variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
09fc98eebf Handle all the PACKAGE_XXX variables in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
1bf5e177a1 Handle EXV_HAVE_UNISTD_H variable in the new cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
93835cd680 Handle correctly ENABLE_VIDEO the config.h.cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
13af648ee0 Handle correctly LIBINTL_H and NLS in the config.h.cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
3551136041 Remove HAVE_INTTYPES_H. It has never been used with CMake 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
80eeec996d Handle correctly GMTIME_R in the config.h.cmake file 2017-08-08 21:58:45 +02:00
Luis Diaz Mas
f9ce4cd93f Handle correctly CURL in the config.h.cmake file 2017-08-08 21:58:45 +02:00