Denis Rouzaud
725dcb377c
[cmake] rename plugin targets to plugin_* ( #45975 )
...
* [cmake] rename plugin targets to plugin_*
this is the same semantic than for auth methods and providers
* revert nsis changes
* also rename grass plugin target
2021-11-11 20:01:39 +01:00
Matthias Kuhn
dae83c51d0
Use cmake provided FindPostgreSQL scripts where possible
2021-10-23 05:22:02 +10:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
Sandro Mani
ff176aa0fe
Explicitly include PYQT5_SIP_DIR when running sip-build
2021-10-06 16:09:24 +02:00
Juergen E. Fischer
bc757fe331
also build pyi with sip-build (followup 6fd34ca92b3e2bc)
2021-10-04 12:56:23 +02:00
Juergen E. Fischer
c7417b8df6
FindPyQt5.cmake: skip PyQt5_sip
2021-10-02 01:04:42 +02:00
Loïc Bartoletti
994d1a4abf
Merge pull request #45303 from kadas-albireo/master
...
Assorted cmake improvements
2021-10-01 09:02:43 +02:00
Sandro Mani
721c10a362
Enhance header detection in FindQwt.cmake and FindZSTD.cmake
2021-09-30 12:13:29 +02:00
Sandro Mani
c5bb41dc01
PyQt5 cmake improvements
2021-09-30 12:13:29 +02:00
Juergen E. Fischer
f76af64fba
msvc build fixes
2021-09-29 23:49:33 +02:00
Sandro Mani
6fd34ca92b
Add sip5/sip6 sip-build support
2021-09-24 08:56:40 +10:00
Matthias Kuhn
3a4867dc81
[chore] Remove custom FindIconv.cmake implementation ( #44632 )
...
It is available out of the box since cmake 3.11
2021-08-11 07:32:02 +02:00
Matthias Kuhn
a20c909c1b
Minimum flex version 2.6 and a bit of cleanup
...
Fixes #43903
Fixes #43795
2021-06-25 00:16:27 +02:00
Matthias Kuhn
ff3be3df40
Remove QTMOBILITY
...
It's days are gone
2021-06-19 06:20:57 +10:00
Loïc Bartoletti
1874274b9f
[FreeBSD] remove if statement in FindPyQt5.py and fix #41913
2021-06-06 08:53:15 +10:00
Nyall Dawson
8f8c90897a
Use opencl.hpp header instead of cl2.hpp if present
...
Avoids a "cl2.hpp has been renamed to opencl.hpp" warning being
spammed out on newer opencl environments
2021-06-01 11:58:01 +10:00
Denis Rouzaud
016e5e785f
separate gui/core parts of auth method libraries
2021-05-19 10:55:43 +02:00
nirvn
5c212369ae
Apply a fix to FindQCA.cmake for vcpkg
2021-05-16 09:11:24 +10:00
Peter Petrik
c40b4643b9
slim qgsquick to micro-core ( #43204 )
...
Keep only files that are used in both Input and QField in QgsQuick as basis of the QML library that can grow further.
Co-authored-by: Denis Rouzaud <denis.rouzaud@gmail.com>
2021-05-14 15:38:18 +02:00
Denis Rouzaud
da08c8a435
[cmake] generalize Python output directory in UseTest macro ( #43191 )
...
* [cmake] generalize Python output directory in UseTest macro
this is helpful in case we set up another python output directory (eg PySide2)
* define python output directories to the parent scope
* try with target_include_directories
* define vars on top level
* Update UsePythonTest.cmake
* some cleanup
* more cleanup
* fix uic
* fix path for all platforms
* fix var
2021-05-13 07:32:03 +02:00
Matthias Kuhn
41ffffed18
Optimize
2021-05-11 08:36:46 +02:00
Matthias Kuhn
4a16d251e2
Add comment
2021-05-11 08:28:59 +02:00
Matthias Kuhn
ec59ad2bd5
Only relink qgis core if version changed
...
qgis_core is linked again, whenever cmake is run, because qgsversion.h is regenerated every time.
This commit only touches the file if the content actually changed and speeds up compliation in some cases
2021-05-11 07:48:02 +02:00
Denis Rouzaud
0eee27f14c
macos now always has loader path ( #42859 )
2021-04-19 15:41:43 +02:00
Juergen E. Fischer
c5ea4b220c
osgeo4w: vc16 updates
2021-04-01 23:39:19 +02:00
Denis Rouzaud
555f516925
use cmake native FindPython ( #42497 )
2021-03-28 21:49:40 +02:00
Juergen E. Fischer
65a3cb6d90
fix 79572de47614
2021-03-27 19:31:16 +01:00
Denis Rouzaud
7a56c36d55
[qt6] CMake build adjustments for qt6
2021-03-25 11:06:32 +01:00
Nyall Dawson
e18584239f
Force c++14 only for sip builds, as sip generated code uses deprecated c++ removed in c++17
2021-02-25 11:08:56 +10:00
Bas Couwenberg
fc1ac8bef8
Add support for PROJ 8.0.0 in FindProj.cmake.
...
proj_api.h is no longer available in PROJ 8.0.0, use proj.h instead.
Fixes : #41735
2021-02-24 04:51:07 +10:00
Nyall Dawson
af69dc7c0b
Require GDAL 3.0+
...
Drop compatibility with GDAL v2
2021-02-23 12:47:04 +10:00
Peter Petrik
0ddff71ccb
support python 3.8 and qgis-deps-0.7.0 ( #41505 )
2021-02-11 15:10:35 +01:00
Sam Gillingham
a2bc59798f
don't search for C++ GEOS lib with MSVC
2021-02-04 23:20:55 +01:00
Juergen E. Fischer
79572de476
fix windows nightly (make sure that the header PROJ_VERSION_MAJOR was detected from (nightly build) is actually used)
2021-01-15 10:23:09 +01:00
Maxim Rylov
d4494e5b43
Add odbc-cpp-wrapper library to external folder
2021-01-12 15:57:00 +01:00
Maxim Rylov
61fbdcf5ff
Merge branch 'master' into hana-provider
2020-12-28 16:08:26 +01:00
Martin Dobias
b5e98c346d
Lower PDAL version requirement to >= 1.7
2020-12-23 09:43:19 +10:00
Martin Dobias
e066bab310
[pdal] fix pthreads on linux + check for pdal >= 2.2 ( #40619 )
2020-12-16 14:04:54 +01:00
Maxim Rylov
48961ef8b2
Switch HANA tests to run against HANA Cloud
2020-12-07 14:53:44 +01:00
Maksim Rylov
9a380df713
Link odbc-cpp-wrapper library statically
2020-12-07 14:53:43 +01:00
Maksim Rylov
dd95772bc8
Resolve spell checking issues in HANA provider
2020-12-07 14:53:41 +01:00
mrylov
a64982b258
Library name in FindODBCCPP.cmake must be in lower case
2020-12-07 14:53:40 +01:00
Maksim Rylov
10a50d8d0f
Initial implementation of HANA provider
2020-12-07 14:53:40 +01:00
Peter Petrik
eac5d67e6c
allow use poly2tri from system
2020-11-24 09:18:51 +10:00
Nyall Dawson
18976fb40b
Default to building WITH_EPT, and show friendly error if WITH_EPT is true but zstd not found
2020-11-13 09:55:04 +10:00
Peter Petrik
0d633c49fe
fix_pdal
2020-11-10 05:47:09 +10:00
Nyall Dawson
c7a6e6bd15
Embed a copy of laz-perf, and use if system laz-perf is not found
...
Laz-perf is a relatively "underground" library, and is not packaged
for many major distributions. Its also tiny and trivial to include with
the other external libraries.
This avoids requiring users who want point cloud support to have to
compile their own laz-perf
2020-11-09 06:27:05 +01:00
Juergen E. Fischer
7c458a9694
fail if sipbuild is found, but not sip5
2020-11-07 18:58:37 +01:00
Nyall Dawson
f5a4880e70
Switch from silently building broken Entwine point cloud support
...
when dependancies are missing (libzstd, lazperf) to an explicit
WITH_EPT optional cmake switch which requires those dependancies
This makes it easier people to determine whether they have the
complete set of necessary dependancies to build Entwine point
cloud support, as cmake will show an error if they enable WITH_EPT
but don't have them...
2020-11-07 07:57:00 +10:00
Nyall Dawson
f98bdc04a6
Make PDAL version information available for macros
2020-11-07 03:22:22 +10:00