76 Commits

Author SHA1 Message Date
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
Philip Rinn
5ba3fa1ede Move appstream metadate to new location 2017-07-31 12:45:27 +02:00
Morgan Hardwood
73573e1b87 Cleaned up KLT CMake files from PR #3912 2017-06-26 14:17:23 +02:00
Beep6581
0b4405972d Merge pull request #3912 from mattiaverga/klt
Optionally use system KLT library
2017-06-26 14:08:01 +02:00
heckflosse
2fcb7d9665 Removed bz2 support 2017-06-13 21:05:14 +02:00
Mattia Verga
cbb6bceb63 Fix endif format and indentation 2017-06-07 07:40:48 +02:00
Mattia Verga
75812c900e Move and rename option accordingly to other already present 2017-06-06 10:20:37 +02:00
Mattia Verga
7f4b9e2aa7 Merge Beep6581/dev 2017-06-05 18:16:38 +02:00
Mattia Verga
6b81411561 Use option to let user choose to use system's KLT 2017-06-05 17:59:36 +02:00
ion12
c562385f15 macOS build fixes suggestions take 2
Suggestion for resolving
CMakeLists.txt , macosx_bundle.sh , executable_loader.in
Please review + double-check on macOS
2017-04-18 00:26:28 +01:00
Morgan Hardwood
3886f560b0 Set minimum macOS version to 10.9, fixes #3819 2017-04-12 16:41:24 +02:00
Morgan Hardwood
371410d49b Fixed incorrect elseif in /CMakeLists.txt, #3819 2017-04-12 14:04:32 +02:00
Morgan Hardwood
7f71c611cb CMake - Cleaner absolute path checking, #3678. 2017-04-09 16:10:29 +02:00
Morgan Hardwood
5de2ff4b60 CMake - Man page location for Linux fixed, #3678 2017-04-09 15:44:59 +02:00
Morgan Hardwood
0c0d8bfe43 Small comment and explanation cleanup in /CMakeLists.txt, #3678. 2017-04-09 15:17:30 +02:00
Morgan Hardwood
cd731e1015 Style and formatting cleanup of /CMakeLists.txt, #3678 2017-04-09 15:08:32 +02:00
Morgan Hardwood
36cd8b7787 Mostly macOS-related changes to CMake and build scripts, #3678 2017-04-09 15:04:57 +02:00
heckflosse
9b5f429602 Fixed another bunch of warnings 2017-04-03 21:01:28 +02:00
heckflosse
602162a343 Enable -Wall 2017-04-03 17:17:05 +02:00
Hombre
c654785ae3 Merge branch 'dev' into rt-cli 2017-03-18 18:17:45 +01:00
Flössie
9c9ac0d589 Change -std=gnu++11 to -std=c++11
I propose changing the default `-std=` compiler flag from the non-
standard `gnu++11` to `c++11`. Our code is fully C++11 compliant and
that should be reflected in the C++ standard we choose as default.

Furthermore there's an ambiguity as we make people use
`-DCMAKE_CXX_FLAGS="-std=c++11"` when this is already handled
(differently) in `CMakeLists.txt`. See the [pixls.us](https://discuss.pixls.us/t/rawtherapee-5-and-dcmake-cxx-flags/3145/3)
discussion. You also see it in `AboutThisBuild.txt`:

```
Build flags: -std=c++11 -Wno-deprecated-declarations -Wno-unused-result -std=gnu++11 -march=native -Werror=unused-label -fopenmp -Werror=unknown-pragmas -O3 -DNDEBUG
```

This commit changes `-std=gnu++11` to `-std=c++11` and builds fine
without `-DCMAKE_CXX_FLAGS="-std=c++11"`.
2017-02-14 20:57:57 +01:00
Hombre
fe83cc8134 Merge branch 'dev' into rt-cli 2017-02-14 00:15:23 +01:00
Hombre
a04b3eefba Adding rawtherapee-cli.exe, '-q' (quick start mode) added
Standard rawtherapee.exe now has almost no command line options left.
Use '-h' to see options for each executables.
2017-02-13 23:38:05 +01:00
Morgan Hardwood
6558734830 CMake indentation cleanup. 2017-02-06 22:14:40 +01:00
Morgan Hardwood
16f4731e0b Merge branch 'master' into gtk3 2017-01-30 23:45:46 +01:00
Hombre
52dca96723 Bigfix of InnoSetup parameters (#3628) 2017-01-28 22:39:50 +01:00
Morgan Hardwood
cded30dcbb Fix previous commit: Update old name. 2017-01-28 02:32:31 +01:00
Morgan Hardwood
77d5f8779b Cleaned up CMake logic thanks to Hombre, #3628 2017-01-28 02:29:22 +01:00
Morgan Hardwood
e5c00f0a9d Complete revision to how RawTherapee's version is handled in CMake and in other files, #3628 2017-01-27 15:33:05 +01:00
Dan Horák
094678885c use system KLT library if available 2017-01-02 14:50:23 +01:00
Morgan Hardwood
5344b3749d Merge branch 'master' into gtk3 2016-09-27 23:41:41 +02:00
Jean-Christophe
ef50841629 Merge pull request #3415 from Beep6581/eclipse_c++11
Add full support of c++11 to the Eclipse IDE
2016-09-11 00:47:07 +02:00
Hombre
b04596ec60 Fixing a small glitch in the main cmakefile 2016-09-04 02:55:57 +02:00