8 Commits

Author SHA1 Message Date
Even Rouault
5665665712 Fix CMake 3.31 warnings 2024-12-04 06:50:16 +10:00
Juergen E. Fischer
3dac2dc95c put test_data_dir.py into build directory (don't use install directory
prior to install)
2023-10-15 15:56:31 +02:00
Nyall Dawson
bc960c5ffa Make TEST_DATA_DIR accessible from python tests 2023-10-11 11:36:40 +10: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
Denis Rouzaud
555f516925
use cmake native FindPython (#42497) 2021-03-28 21:49:40 +02:00
Denis Rouzaud
eddf6feb45 modernize CMakeLists.txt files 2020-11-12 07:14:46 +10:00
Denis Rouzaud
ba94896015 fix python testing install directory 2016-04-21 13:54:11 +02:00
Matthias Kuhn
c21889f945 Add qgis.testing module for generic qgis test helpers 2016-02-04 13:36:13 +01:00