Merge branch 'dev' into spot-removal-tool

This commit is contained in:
Hombre
2019-03-19 00:35:31 +01:00
990 changed files with 5088 additions and 2099 deletions

View File

@@ -120,6 +120,8 @@ set(NONCLISOURCEFILES
rgbcurves.cc
rotate.cc
rtimage.cc
rtsurface.cc
rtscalable.cc
rtwindow.cc
saveasdlg.cc
saveformatpanel.cc
@@ -181,6 +183,7 @@ if(WIN32)
${GTKMM_INCLUDE_DIRS}
${GTK_INCLUDE_DIRS}
${LENSFUN_INCLUDE_DIRS}
${RSVG_INCLUDE_DIRS}
)
link_directories(. "${PROJECT_SOURCE_DIR}/rtexif"
${EXTRA_LIBDIR}
@@ -191,6 +194,7 @@ if(WIN32)
${GTKMM_LIBRARY_DIRS}
${GTK_LIBRARY_DIRS}
${LENSFUN_LIBRARY_DIRS}
${RSVG_LIBRARY_DIRS}
)
else()
include_directories(${EXTRA_INCDIR}
@@ -208,6 +212,7 @@ else()
${IPTCDATA_INCLUDE_DIRS}
${LCMS_INCLUDE_DIRS}
${LENSFUN_INCLUDE_DIRS}
${RSVG_INCLUDE_DIRS}
)
link_directories(${EXTRA_LIBDIR}
${CANBERRA-GTK_LIBRARY_DIRS}
@@ -224,6 +229,7 @@ else()
${IPTCDATA_LIBRARY_DIRS}
${LCMS_LIBRARY_DIRS}
${LENSFUN_LIBRARY_DIRS}
${RSVG_LIBRARY_DIRS}
)
endif()
@@ -242,6 +248,10 @@ add_executable(rth-cli ${EXTRA_SRC_CLI} ${CLISOURCEFILES})
add_dependencies(rth UpdateInfo)
add_dependencies(rth-cli UpdateInfo)
#Define a target specific definition to use in code
target_compile_definitions(rth PUBLIC GUIVERSION)
target_compile_definitions(rth-cli PUBLIC CLIVERSION)
# Set executables targets properties, i.e. output filename and compile flags
# for "Debug" builds, open a console in all cases for Windows version
if((WIN32) AND NOT(UPPER_CMAKE_BUILD_TYPE STREQUAL "DEBUG"))
@@ -271,6 +281,7 @@ target_link_libraries(rth rtengine
${TIFF_LIBRARIES}
${ZLIB_LIBRARIES}
${LENSFUN_LIBRARIES}
${RSVG_LIBRARIES}
)
target_link_libraries(rth-cli rtengine
@@ -291,6 +302,7 @@ target_link_libraries(rth-cli rtengine
${TIFF_LIBRARIES}
${ZLIB_LIBRARIES}
${LENSFUN_LIBRARIES}
${RSVG_LIBRARIES}
)
# Install executables