Richard Barber
4bd6383c07
re-indent some scripts w/cmake_format and beautify_bash
2020-02-23 20:35:45 -08:00
Richard Barber
4dbbc40539
mac:config.h.in use macos extention
2020-02-20 11:43:11 -08:00
Richard Barber
4e4faafb08
mac:fix destination of comconst.json
2020-02-20 03:14:46 -08:00
Richard Barber
d21f051f43
mac:sync build directories locations
2020-02-20 01:56:00 -08:00
Richard Barber
9bc078c5bb
mac:export non-relative paths to config.h
2020-02-20 01:17:49 -08:00
Richard Barber
a78c4b99df
mac:send an absolute path to config.h.in via CMakeLists.txt
2020-02-19 15:51:50 -08:00
Richard Barber
3bbdd89c8f
mac: fix -cli and add a linker flag
2020-02-19 14:40:42 -08:00
Benitoite
7b215e83a3
mac: bundle simplification
2020-02-15 18:07:30 -08:00
Benitoite
d796f70caf
Mac: fix os deployment target compilation flags
...
Uses `${CMAKE_OSX_DEPLOYMENT_TARGET}` instead of `10.9`
2020-02-08 02:52:31 -08:00
Ingo Weyrich
8f291c3ff2
Be -Wunused-macros clean
2020-02-07 20:18:35 +01:00
Benitoite
1150a4352f
Re-enable a private LENSFUNDBDIR on Win32 and UNIX
...
Restores a few lines in CMakeLists.txt 2cc8918
removed for non-APPLE systems.
2020-02-07 00:47:24 -08:00
rfranke
2cc89183df
Prepend DATADIR only once to LENSFUNDBDIR, see #5622
...
DATADIR is also prepended to a relative LENSFUNDBDIR in rtengine::init.
This removal in CMakeLists.txt keeps the cmake argument LENSFUNDBDIR
unmodified in the ~/.config/RawTherapee*/options file.
This fixes a path like
../../Resources/../../Resources/./share/lensfun
for LENSFUNDBDIR=./share/lensfun under macOS.
2020-01-28 22:11:48 +01:00
Benitoite
aaab85fbed
macOS: LOCAL_PREFIX default/better negative logic
2020-01-04 16:06:13 -08:00
Benitoite
f23cf0808b
macOS: accept -DLOCAL_PREFIX and default to /usr
2020-01-04 08:53:43 -08:00
Ingo Weyrich
b3b1008270
Further reduction of include dependencies
2019-11-02 17:29:26 +01:00
Franz Trischberger
706c16510f
Add option to link against libtcmalloc.so
...
Implementation done by Alberto Griggio (agriggio)
for his fork at https://bitbucket.org/agriggio/art
libtcmalloc.so comes with google's perftools:
https://github.com/gperftools/gperftools
This should fix issues where glibc won't give
memory back to the OS.
Related issue: #4416
2019-09-21 08:44:53 +03:00
Ingo Weyrich
17f343f682
add -Wcast-qual switch and fix all related warnings
2019-07-25 17:45:43 +02:00
Benitoite
8a8536702e
Mac: point to directories from a nested app
2019-06-15 23:11:29 -07:00
Benitoite
6095f86467
macOS: Import notarization credentials
...
Imports apple notarization credentials (Apple ID and App-specific password) given to cmake as `-DNOTARY:STRING="-u woz@apple.com -p abcd-efgh-ijkl-mnop"`
2019-06-13 02:03:00 -07:00
Benitoite
bd548ce060
Mac: define CMAKE_AR / RANLIB only if undefined.
2019-05-16 12:39:08 -07:00
Morgan Hardwood
3289835ca1
Bumped minimum CMake version to 3.5, closes #5302
2019-04-24 16:36:29 +02:00
Morgan Hardwood
458f47d12e
Warn if using problematic GTK+ version
...
GTK+ 3.24.5 is known to not draw combobox menu scroll arrows.
Possibly affects >=3.24.2 - <=3.24.6.
Closes #5194
2019-04-02 08:45:57 +02:00
Hombre
bd175ec8d1
Merge branch 'dev' into hidpi-icons
2019-02-25 22:37:00 +01:00
Morgan Hardwood
788d62e5d1
Renamed appdata filename in CMakeLists
2019-02-14 13:50:57 +01:00
Hombre
8728142b64
Merge branch 'dev' into hidpi-icons
2018-12-13 00:52:07 +01:00
Hombre
81407cd663
Adding SVG support for icons with automatic cache handling
...
See issue #3547 and #4803
2018-12-13 00:04:30 +01:00
heckflosse
516be46550
Reintroduce silencing of unused-result warnings
2018-12-11 00:09:36 +01:00
heckflosse
feb718adb5
Some changes to CMakeLists.txt, closes #5066
2018-12-05 15:40:14 +01:00
Morgan Hardwood
4e79d68807
CMake file cleanup
2018-12-02 23:00:29 +01:00
Benitoite
cdc187f9aa
Mac: fix typo I made
2018-09-17 16:39:48 -07:00
Benitoite
efaae15f11
Mac: set a cached variable with codesign ID
2018-09-17 15:51:59 -07:00
Morgan Hardwood
ba3932d816
Require libtiff >= 4.0.4
...
Compilation fails when using libtiff < 4.0.4 on PHOTOMETRIC_CFA not
being declared. This commit introduces a minimum libtiff requirement of
4.0.4, which in turn required making cmake-2.8.8 the minimum required
version so as to avoid having to bundle findTIFF.cmake.
Closes #4653
2018-07-04 21:23:18 +02:00
Flössie
c73844d722
Force memalign()
on i386 Linux when alignment < 16 ( fixes #4432 )
2018-03-17 10:32:44 +01:00
Morgan Hardwood
2e9dc11440
Use MacPorts Binutils path for macOS, #4028
2018-03-12 07:27:46 +01:00
Morgan Hardwood
3a404112af
CMake options for LTO, fixes #4430
...
Using LTO with older versions of binutils requires setting extra flags.
2018-03-07 09:42:11 +01:00
Flössie
28e1b83af9
Find x87 and x86-32 SSE to adjust compile settings ( fixes #4324 )
2018-02-15 19:41:15 +01:00
heckflosse
11ad1dace8
cmake switch -WITH_BENCHMARK enables BENCHFUN macro for rtengine
2017-12-25 01:32:29 +01:00
Alberto Griggio
f6bd06a06c
merged 'hdr_tonemap_fattal_nocache' into 'dev'
2017-11-18 17:44:34 +01:00
Beep6581
696299be2e
Merge pull request #4181 from Benitoite/patch-3
...
Enable detection of non-Apple clang Clang features
2017-11-15 08:08:07 +01:00
heckflosse
7507b74d6f
explicitly set -ftree-vectorize to get auto vectorizations even for builds using -o2 instead of -o3 (some distros do that for whatever reason)
2017-11-13 18:56:18 +01:00
Benitoite
46e4dece2e
Enable detection of non-Apple clang Clang features
...
Ups macOS cmake requirement to 3.3 and sets policy 25, to differentiate compiler features between AppleClang and plain ole' clang.
2017-11-13 09:51:21 -08:00
heckflosse
81fbf0c2e1
Applied patch from @agriggio to check multithreading in fftw3
2017-11-06 19:09:50 +01:00
Alberto Griggio
77b4ad497b
Integrated "Fattal02" tone-mapping operator from Luminance HDR
2017-11-02 22:34:49 +01:00
Hombre57
9adddece2c
Require Gtk >= 3.22.24 for Windows, see #4141
2017-10-15 22:15:10 +02:00
Alberto Griggio
33867a4bf2
fix finding the lensfun library for the LENSFUN_HAS_LOAD_DIRECTORY test
2017-09-18 09:00:48 +02:00
Alberto Griggio
7ee485e89c
Make LENSFUN_HAS_LOAD_DIRECTORY test actually succeed when it should
2017-09-17 00:18:33 +02:00
Alberto Griggio
a467246834
fix compilation failure when using lensfun 0.2.x
...
Fixes #4085
2017-09-16 10:54:00 +02:00
Alberto Griggio
008f280e29
lensfun: added possibility to use a private copy of the LF database
2017-09-14 11:34:41 +02:00
Alberto Griggio
88b343d1b3
update AboutThisBuild.txt with lensfun info
2017-09-12 15:29:41 +02:00
Alberto Griggio
dde94bc6d3
added basic integration of lensfun
...
so far only distortion correction, and no GUI yet
2017-09-07 00:53:03 +02:00