Luis Díaz Más
31a51fda8a
Replace EXIV2_ENABLE_SHARED by BUILD_SHARED_LIBS. Also use EXV_HAVE_DLL only for the exiv2lib target
8 years ago
Andreas Sturmlechner
20c7ad6c59
Lowercase include{,_directories}
8 years ago
Andreas Sturmlechner
1fc319c0e4
Lowercase add_custom_target, configure_file, install macros
8 years ago
Andreas Sturmlechner
40565761d1
Lowercase add_{definitions,subdirectory}, set{_*} and option macros
8 years ago
Andreas Sturmlechner
06b20523f7
Lowercase if/else/endif/foreach/endforeach
8 years ago
Luis Diaz Mas
8ba4281643
Set output directories for archives, libraries and runtime
...
This commit fix the problem with the test script.
8 years ago
Luis Diaz Mas
90e8ad8a72
Only set CMAKE_RUNTIME_OUTPUT_DIRECTORY once
8 years ago
Luis Díaz Más
6e506a2623
Define EXIV2_ENABLE_DYNAMIC_RUNTIME only once
8 years ago
Luis Díaz Más
a2bb29011d
Move compiler flags configuration to a new file (config/compilerFlags.cmake).
...
Also define the PSAPI_VERSION only for the exiv2lib target (It's not needed for the rest of targets)
8 years ago
Andreas Sturmlechner
b81f493024
Add option to disable tools (currently exiv2 binary)
...
In a multiarch build, one may want to build binaries only for native arch.
8 years ago
Andreas Sturmlechner
aa6374b202
Use more GNUInstallDirs
...
Conveniently fixes multiarch install dir issues.
8 years ago
Luis Diaz Mas
8dada35129
Remove unused cmake code
8 years ago
Luis Diaz Mas
69fb40fdc6
Simplify compiler info handling in CMake
8 years ago
Luis Diaz Mas
d29b3b6a10
Remove CMake policy CMP0042. CMake 3.1 already support MACOSX_RPATH
8 years ago
Luis Díaz Más
ee61c24459
Remove inclusion of many useless include_directories
8 years ago
Luis Diaz Mas
2d011691f2
Compile XMP sources as an OBJECT Library
8 years ago
Luis Diaz Mas
b4a2b822c2
Remove usage of global variable INSTALL_TARGET_STANDARD_ARGS. Specify install destinitions in each target
8 years ago
Luis Díaz Más
a6dbbebb12
Only compile the xmp static library if EXIV2_ENABLE_LIBXMP is enabled
8 years ago
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
8 years ago
Luis Díaz Más
df899bfbc3
exv_conf.h is now generated in the CMAKE_BINARY_DIR to not mess up the source tree.
8 years ago
Luis Diaz Mas
8c323cad04
Remove EXV_HAVE_STDINT_H definition that was causing warnings
8 years ago
Luis Diaz Mas
09fc98eebf
Handle all the PACKAGE_XXX variables in the new cmake file
8 years ago
Luis Diaz Mas
13af648ee0
Handle correctly LIBINTL_H and NLS in the config.h.cmake file
8 years ago
Luis Diaz Mas
ab6858df68
Add new mechanism to generate the exv_conf.h file from CMake. SSH variable
8 years ago
Luis Diaz Mas
d12ee0ac26
Move cmake code to find dependencies into another file
8 years ago
Luis Diaz Mas
49153695f2
Move CMake summary messages to a different file
8 years ago
Fabian Vogt
04052ceb86
Do not use GCC_MINOR in CMakeLists.txt
...
"gcc -dumpversion" with GCC >= 7 only prints "7", thus GCC_MINOR is not defined.
That results in:
CMake Error at CMakeLists.txt:86 (list):
list index: 1 out of range (-1, 0)
8 years ago
clanmills
e345110555
Removing obsolete code in CMakeLists.txt Adding version-test.sh to make tests
8 years ago
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.
8 years ago
Bernd Kuhls
8af901ce05
cmake: always depend on threads, not only in the xmp case
8 years ago
Robin Mills
94b8285341
#1292 Fix submitted.
8 years ago
Robin Mills
be0945016b
#1269 Thank You to Ben for reporting this and providing the patch.
8 years ago
Robin Mills
284128723c
#1279 Bump to Exiv2 v0.26 (and library version 15).
8 years ago
HumanDynamo
fdfa212d8f
this cmake option is duplicated
9 years ago
HumanDynamo
221315d2bb
add support of MXE xrosscompiling for Windows, based on MinGW.
9 years ago
Robin Mills
7cb26f6b29
#1249 CMake fixes for clang
9 years ago
Robin Mills
6ea3b00b02
#1249 Fixes
9 years ago
Robin Mills
f13033b5f4
#1230 CMake build fixes.
9 years ago
Robin Mills
383ca9ec1b
#1230 and #1236 Buildserver maintenance. Work-in-progress fixes for CMake/MinGW32
9 years ago
Robin Mills
0abf56f71b
#1236 CMake build on MinGW.
9 years ago
Robin Mills
30c87b5989
#1188 and #1109 Correction to r4530 and r4531 to fix cygwin build-breaker (gnu++98 required for snprintf support)
9 years ago
Robin Mills
b45394b782
#1109 CMake changes for MinGW. I have not yet succeeded in get CMake/MinGW to work.
9 years ago
Robin Mills
57da10ff3c
#1109 Rollback r4505
9 years ago
Robin Mills
a9c8b1106a
#1109 Last role of the dice to get CMake/MinGW to work together.
9 years ago
Robin Mills
3c1819a37f
Fix CMake/MacOS-X Subversion_SVN_EXECUTABLE
9 years ago
Robin Mills
7adaf71d44
#1187 and #1041 . Fixing CMake/Linux build breakers concerning libpthread
9 years ago
Robin Mills
b12aca62cd
#1041 get jenkins_daily.sh to work on Mac/Cygwin/MSVC/Linux and publish builds on userContent/builds { daily/weekly/monthly}
10 years ago
Robin Mills
bb032fb6c7
#1041 Still struggling with the test suite
10 years ago
danielkaneider
c90253bc3c
[cmake] various msvc fixes
10 years ago
Robin Mills
85c6a7b109
#1041 . Changes discussed with Daniel on Skype.
10 years ago