309 Commits

Author SHA1 Message Date
Juergen E. Fischer
2e772b2c55 fix qgsversion.h generation [take II] 2015-07-15 07:50:58 +02:00
Juergen E. Fischer
04bab85c8d fix qgsversion.h generation on windows 2015-07-15 02:18:22 +02:00
Juergen E. Fischer
e679b0b266 update qgsversion.h only if it going to be actually changed 2015-07-12 23:49:38 +02:00
Nyall Dawson
c5a58a7fb3 Address cmake CMP0054 warnings 2015-07-12 19:25:22 +10:00
Juergen E. Fischer
fa464111c8 fix grass tests on windows 2015-07-07 23:26:44 +02:00
Juergen E. Fischer
688f27528b fix some warnings and suppression warnings on windows 2015-07-06 17:48:15 +02:00
Juergen E. Fischer
d3c49b321a Bump version to 2.11 2015-06-26 14:39:39 +02:00
Nyall Dawson
a0c04d1edb Don't warn about missing MSVC redistributable files when building
using Express editions
2015-06-19 13:10:02 +10:00
Nyall Dawson
ac8d4df3bb Bump minimum Qt version to 4.8 2015-06-15 00:04:31 +02:00
Juergen E. Fischer
ee9d9eea40 enable c++11 support for MSVC>2010 (although that's still what's used for the packages) 2015-06-05 16:52:02 +02:00
Juergen E. Fischer
d4b72a2d7b depend on spatialite_init_ex() for 'new' spatialite initialization (followup 252aaab) 2015-05-27 20:45:15 +02:00
Juergen E. Fischer
252aaab89e adopt 'new' spatialite initialization scheme via thin wrapper around sqlite3_open and sqlite3_close (fixes #12771) 2015-05-26 14:36:36 +02:00
Juergen E. Fischer
97864da358 fix windows build (also reapplies 584f192, lost in a6f1ec) 2015-05-23 20:49:51 +02:00
Matthias Kuhn
eb85d99a30 Also plugins 2015-05-23 16:57:37 +02:00
Matthias Kuhn
c1b520fbd8 Hide shared library symbols by default on GCC and Clang
* Decreases lib size, loading time and compile time
 * Forces people on linux to use the {LIB}_EXPORT defines and therefore will
   make Windows nightlies more reliable
2015-05-23 16:53:12 +02:00
Matthias Kuhn
f5054ce702 Allow compiling QGIS without QtWebkit
This allows to compile QGIS without webkit.

1. Webkit is soon-to-be deprecated
2. Webkit is not supported on Android
3. Who needs it anyway
4. The developer map on the about page is gone with webkit disabled
5. So is the information about plugins
2015-05-21 18:11:17 +02:00
Matthias Kuhn
72eb1aae97 Allow Qt5::Positioning as alternative to QtMobility/QtLocation 2015-05-04 08:53:20 +02:00
Sandro Santilli
32cc6e0b87 Fix quoting of xfb-run invocation
Works For Me (Ubuntu 14.04.2)
2015-04-22 19:47:24 +02:00
Sandro Mani
8c1ee0c691 Add ORACLE_INCLUDEDIR, ORACLE_LIBDIR CMake variables 2015-04-20 23:04:49 +02:00
Radim Blazek
7d4eb8bce3 [GRASS] multi version build 2015-04-07 11:05:10 +02:00
Juergen E. Fischer
f537922b15 Bump version to 2.9 2015-02-20 13:06:05 +01:00
Nyall Dawson
6e4768367f Remove use of deprecated register keyword 2015-02-19 16:23:50 +11:00
Larry Shaffer
9a75c9e113 Add C++11 -Wno-deprecated-register only to clang versions with support 2015-02-18 10:28:33 -07:00
Larry Shaffer
5273889d45 Enable C++11 only for newer clang versions; match AppleClang for Cmake 3
- Switch STREQUAL conditionals to MATCHES for Clang to handle CMake 3
  introduction of AppleClang compiler ID for Mac-specific Xcode clang,
  which has different reported versions than upstream clang
2015-02-12 09:06:29 -07:00
Juergen E. Fischer
fffd2fea0a fix check-no-x 2015-02-10 13:34:42 +01:00
Nyall Dawson
34d5394409 Enable coverage reports for Travis builds
Changes required:
- switch Travis builds to gcc, using O0 for build speed
- enable a debug build
- enable coverage report for ctest on Travis (sent to dash)
2015-01-28 14:36:48 +11:00
Matthias Kuhn
3752be6678 Make QwtPolar optional 2015-01-21 15:56:07 +01:00
Juergen E. Fischer
313f2c8de0 OVERRIDE macro breaks globeplugin (OVERRIDE is an enum value in OpenSceneGraph)
replace 'OVERRIDE' macro with 'override' keyword in code and define it an empty
macro where C++11 is not available (followup 466f2563efd)
2015-01-16 08:22:52 +01:00
Nyall Dawson
db9fc098c7 Disable deprecated register warning/error for clang, breaks Travis build 2015-01-14 19:39:07 +11:00
Nyall Dawson
34b10e59c2 Enable -Wno-error=c++11-narrowing for clang builds
...until underlying issues are fixed
2015-01-14 19:38:46 +11:00
Nyall Dawson
466f2563ef Add OVERRIDE macro, allows "override" keyword when c++11 is available
...and no errors when compiler is not capable of c++11 builds.
2015-01-14 19:38:21 +11:00
Denis Rouzaud
d8acc55a49 Fix Qt5 build for custom widgets 2015-01-06 17:03:27 +01:00
Matthias Kuhn
664efe9d5b Print version when building with Qt5 2015-01-06 09:01:57 +01:00
Juergen E. Fischer
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Larry Shaffer
a4aaff5d53 Fix CMake policy warnings/changes introduced in 3.0.0 and higher 2014-12-22 17:06:13 -07:00
Sandro Santilli
98e8f03662 Add ENABLE_MODELTEST cmake variable/define, default to false 2014-12-19 15:00:59 +01:00
Nyall Dawson
a435441239 Add support for generating coverage statistics for tests
Build option ENABLE_COVERAGE must be set. There's also a secondary
option GENERATE_COVERAGE_DOCS which requires lcov and will generate
html docs of unit test coverage.

To generate coverage, first enable the cmake options, then build
QGIS. From the build directory, run "make qgis_coverage".

You can also add command line arguments to "make qgis_coverage" which
are forwarded on to ctest. This allows for skipping failing tests
which prevent generation of coverage docs. This is done by adding
the command line argument CMD_ARGS= to the "make qgis_coverage"
command. Eg,

make qgis_coverage CMD_ARGS="-E \"PalLabeling|LocalServer|AppStartup\"

will skip tests which match the listed expressions.
2014-12-04 07:45:22 +11:00
Juergen E. Fischer
6a1e1bb668 * fix server plugin build on windows
* move src/mapserver to src/server (IMHO better name and in sync with
  python/server)
* rename cmake option WITH_MAPSERVER to WITH_SERVER
* rename define MAPSERVER_HAVE_PYTHON_PLUGINS to HAVE_SERVER_PYTHON_PLUGINS
2014-11-28 16:46:29 +01:00
Juergen E. Fischer
8b65ebdeca don't build server plugins if server isn't built 2014-11-28 12:22:44 +01:00
elpaso
7d428468f2 Enabled by default and removed linked qgispython
Funded by ItOpen - http://www.itopen.it
2014-11-26 16:07:51 +01:00
elpaso
98cab97409 Added python server plugins 2014-11-26 16:02:32 +01:00
Matthias Kuhn
78c519546a Add Qt5 support 2014-11-21 11:45:32 +01:00
Matthias Kuhn
06ea980189 Fix CPack path to README.md 2014-11-17 10:33:14 +01:00
Matthias Kuhn
35286613d2 Add .travis.yml for automated testing 2014-11-14 18:30:27 +01:00
Matthias Kuhn
1c2bdf1ea3 Switch tests to automoc
Required for Qt5 compatibility
Raises minimum CMake version to 2.8.6
2014-11-04 09:18:26 +01:00
Juergen E. Fischer
0bfe8aba56 Bump version to 2.7 2014-10-31 13:00:45 +01:00
Juergen E. Fischer
1691014069 Remove sqlanywhere plugin and provider (implements #10840) 2014-07-08 08:38:29 +02:00
Nyall Dawson
e13e9f7487 Make QScintilla a required dependency 2014-07-07 21:15:41 +10:00
Juergen E. Fischer
747c7ff4a7 Bump version to 2.5 2014-06-27 14:00:55 +02:00
Juergen E. Fischer
e3250c1759 several components require spatialite, make it required (fixes #8797) 2014-06-21 14:13:35 +02:00