Sergio Martins
4483c921ea
ECM: Added MSVC sanitizer support
...
Written by me, will squash it once upstream has it.
There's some patches in review upstream.
2021-05-20 16:19:48 +01:00
Sergio Martins
e8732ecfc0
ECM: sync sanitizers with upstream
2021-05-20 16:19:06 +01:00
Allen Winter
be8d00f0c8
buildsystem - KD namespace the KDAB cmake modules
2021-05-16 11:03:21 -04:00
Allen Winter
4ea8c98243
cmake/QtInstallPaths.cmake - don't cache the QT_FOO variables
...
makes changing Qt versions easier
2021-04-16 07:55:40 -04:00
Allen Winter
7a18ef77cd
buildsystem - fix more cmake --warn-unitialized
...
* PROJECT_VERSION - explicitly set for ECMSetupVersion
* SHIBOKEN_CUSTOM_PATH - init (rename to SHIBOKEN_CUSTOM_PREFIX)
* PYSIDE2_CUSTOM_PREFIX - init
* PYSIDE_EXTRA_INCLUDES (removed, not used)
Task-Id: KDDW-30
2021-03-13 17:27:47 -05:00
Allen Winter
eccdee0081
buildsystem - add an uninstall target
...
uses the KDE extra-cmake-module ECMUninstallTarget.cmake
2021-02-12 15:18:01 -05:00
Sergio Martins
451996016a
Merge pull request #128 from CE-Programming/fix/pri
...
Fix issues with pri file.
2021-01-19 22:38:37 +00:00
Allen Winter
7c99bb084e
Merge branch '1.2'
2021-01-18 10:05:27 -05:00
Allen Winter
1a2757b00a
Generate and install kddockwidgets_version.h
...
defines a version string and other useful versioning macros
Issue#138
2021-01-18 10:03:21 -05:00
Renato Araujo Oliveira Filho
4e79c68a7d
Added PySide6 support
...
Task-Id: KDDW-27
2021-01-11 16:31:49 -03:00
Jacob Young
b81c32b1c9
Fix issues with pri file.
2021-01-07 20:43:47 -05:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Sérgio Martins
c23d179385
Add support for Qt6
...
Adds the -DKDDockWidgets_QT6=ON option
Also you'll need to port any required Qt6 module first (For example QStateMachine).
2020-11-20 12:36:11 +00:00
Allen Winter
e57b46979d
buildsystem - fix installation path for Python bindings
2020-10-14 16:27:18 -04:00
Allen Winter
07db9f9a7a
cmake/Python/FindShiboken2.cmake - clean
2020-10-13 13:23:39 -04:00
Allen Winter
77d7cd7d58
buildsystem - namespace CMake options
...
OPTION_DEVELOPER_MODE => KDDockWidgets_DEVELOPER_MODE
OPTION_BUILD_PYTHON_BINDINGS => KDDockWidgets_PYTHON_BINDINGS
PYTHON_BINDINGS_INSTALL_PREFIX =>
KDDockWidgets_PYTHON_BINDINGS_INSTALL_PREFIX
OPTION_QTQUICK => KDDockWidgets_QTQUICK
2020-10-13 12:28:49 -04:00
Allen Winter
63f8468f48
cmake/Python - don't require pkg-config, only use if available.
...
Issue#68
2020-09-03 18:14:14 -04:00
Allen Winter
c8664c4d44
cmake/Python/* - sync with the KDAB toolbox
2020-09-02 11:11:29 -04:00
Allen Winter
9e8353f50f
cmake/Python/PySide2ModuleBuild.cmake - another fix for Mac
2020-08-31 12:11:33 -04:00
Renato Araujo Oliveira Filho
2db4398637
Python/PySide2ModuleBuild.cmake - fix for Windows build
2020-08-31 11:19:04 -04:00
Renato Araujo Oliveira Filho
4ebf60a9c8
Python/PySide2ModuleBuild.cmake - fix for Mac frameworks
2020-08-31 10:53:03 -04:00
Allen Winter
e017438605
FindShiboken2.cmake - fix finding the library on MacOS
2020-08-28 18:40:19 -04:00
Sergio Martins
fa0576362d
Don't install the BSD license
...
The ECM modules aren't installed nor redistributed with the binaries,
they're just used while developing. Also don't want to create licensing
confusion
2020-08-12 11:07:32 +01:00
Allen Winter
f8a6bd7ad4
cmake/QtInstallPaths.cmake - update SPDX info in header
2020-08-10 17:00:30 -04:00
Allen Winter
1eb5392aef
cmake/.../ECMEnableSanitizers.cmake - update from upstream
2020-08-10 16:27:55 -04:00
Allen Winter
82abc90133
Build API documentation with doxygen
2020-07-29 18:44:42 -04:00
Allen Winter
b4f49895c2
clarify: licensing is GPL2 or GPL3 or commercial licensed
...
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Allen Winter
7ec2f31a46
buildsystem - generate PRI file for qmake users
2020-06-23 12:55:26 -04:00
Allen Winter
842e72c4c3
Windows: version libs, install pdb files for MSVC builds
...
Change-Id: I2964e809de20a9cb94d3039c95a1a623fdfd4d40
2020-06-23 12:38:51 -04:00
Allen Winter
4ffe5e72d8
FindShiboken2.cmake, FindPySide2.cmake - use https
2020-06-23 11:44:51 -04:00
Sergio Martins
6bbba2bff7
python: install to CMAKE_INSTALL_PREFIX by default
...
Set PYTHON_BINDINGS_INSTALL_PREFIX to put them in another place
2020-06-17 22:15:27 +01:00
Renato Araujo Oliveira Filho
c0d8f22049
Use PySide from the system when possible
2020-06-16 17:57:56 -03:00
Renato Araujo Oliveira Filho
c2d8991283
Allow to install python bindings in a custom dir
...
Added cmake var PYTHON_BINDINGS_INSTALL_PREFIX
2020-06-16 17:57:46 -03:00
Renato Araujo Oliveira Filho
a599736c1b
Create Python bidings
...
Added Cmake files
Ported examples
2020-06-16 15:12:41 -03:00
Sergio Martins
11576c5455
ECM: Only set the sanitizers for DEBUG config
...
ECMEnableSanitizers isn't being friendly of multi generators, like
-G "Ninja Multi-Config" and is messing with global flags which is a no-no.
Instead it should be using a dedicated custom config IMHO.
With this change only debug will get the sanitizers, so you can for instance
build with -DCMAKE_CONFIGURATION_TYPES=Debug;RelWithDebInfo and have Debug
hardeneded with the sanitizers while the RelWithDebInfo without sanitizers,
ideal for profiling.
2020-05-10 17:49:20 +01:00
Laurent Montel
a9b17aee02
Add ECMEnableSanitizers to allow to compile it with ASAN support
...
Change-Id: Ia2d9fc073d716e1ed9d525fdfdbf762bedc80e3b
Reviewed-on: https://codereview.kdab.com/67814
Reviewed-by: Sérgio Martins <sergio@kdab.com >
2019-04-26 15:19:28 +02:00