Commit Graph

15 Commits

Author SHA1 Message Date
Luis Díaz Más
71ecc44a5e Remove from -DDEBUG from Debug builds in Mac and Linux 2018-04-09 18:53:00 +02:00
Luis Díaz Más
a1213c1d90 Use the DEBUG compiler definition in Debug mode 2017-12-15 10:08:01 +01:00
Luis Díaz Más
d0c9b8920c New MSVC flag to enable Object Level Parallelism in CMake code 2017-11-12 09:25:27 +01:00
Luis Diaz Mas
78ac8ebf9e Add extra flags to detect more issues 2017-11-01 21:38:04 +01:00
Luis Diaz Mas
e52b3e77cf Remove definition -DWIN32_LEAN_AND_MEAN that is already present in config.h 2017-11-01 05:37:54 +01:00
Luis Díaz Más
3e94c270cb Do not treat CMAKE_C_FLAGS* variables. We do not have C code in the project 2017-11-01 05:37:54 +01:00
Luis Díaz Más
4ad4323685 Add new CMake options to use compiler flags to detect issues in the code (Gcc, Clang & MSVC) 2017-11-01 05:37:54 +01:00
Luis Díaz Más
8ad49f6d73 Robin changes in sync with master changes 2017-09-28 19:42:57 +02: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
95625bfce5 Add WIN32_LEAN_AND_MEAN definition to solve some linking issues on windows 2017-09-03 16:35:41 +02:00
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
Luis Diaz Mas
e07bf9ca6d Fix compiler flags on Linux 2017-08-21 23:18:27 +02:00
Luis Díaz Más
3aa77e0b87 Remove msvc macros and run that code always for the MSVC configuration 2017-08-21 23:02:11 +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
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)
2017-08-21 22:18:36 +02:00