Allen Winter
e615d1c618
Merge branch '1.4'
2021-07-29 16:47:45 -04:00
Allen Winter
ce349d0fcd
buildsystem - improve installing to non-KDAB location
2021-07-29 16:42:07 -04:00
Allen Winter
c86813b1cb
CMakeLists.txt - remove CMake option KDDockWidgets_UNINSTALL
...
no longer needed since the uninstall target is created
only for "rooted" projects (ie. non-submodules)
2021-07-29 12:59:15 -04:00
Allen Winter
1fe651aaa7
CMakeLists.txt - re-organize. implement PROJECT_IS_ROOT
...
set KDDockWidget_IS_ROOT for detecting if this project
is being used inside another parent-parent (eg. submodule)
If not IS_ROOT then we don't build tests, examples, etc.
2021-07-29 12:56:39 -04:00
Allen Winter
ba7809236b
CMakeLists.txt - follow using PYSIDE_CUSTOM_PREFIX
2021-07-29 12:55:09 -04:00
Allen Winter
73ca6e6671
buildsystem - install the Python bindings into standard "site-packages"
...
Follow Python standards and install the bindings into
<prefix>/lib/pythonX.Y/site-packages
sync the Python cmake files with KDAB repository
2021-07-23 12:05:02 -04:00
Allen Winter
990fac9a0a
open for 1.5 - new features
2021-07-16 13:02:05 -04:00
Allen Winter
1d968bd902
CMakeLists.txt, Changelog - open for 1.4.1
2021-07-16 12:59:12 -04:00
Allen Winter
4a390696d5
CMakeLists.txt - Set default CMAKE_BUILD_TYPE to Release for non-dev
...
In non-developer situations default CMAKE_BUILD_TYPE=Release
2021-07-16 09:42:43 -04:00
Allen Winter
68aaccadab
CMakeLists.txt - move the python bindings buildtype check
2021-07-16 09:38:56 -04:00
Allen Winter
f8abe48c82
CMakeLists.txt - add more doc
2021-07-16 09:11:00 -04:00
Allen Winter
bbdbadd630
CMakeLists.txt - add missing option() and feature_summary()
...
also some minor coding style and some more comments
2021-07-13 08:20:50 -04:00
Allen Winter
80a1483617
QtQuick support is no longer expermental
2021-07-13 08:06:30 -04:00
Sergio Martins
750c089ab0
windows: Use -Werror for clang-cl too
2021-07-10 06:49:14 -07:00
Sergio Martins
a2e2b32fc3
cmake: Don't pass -fvisibility=hidden to clang-cl
...
It's not supported
2021-07-10 06:22:24 -07:00
Sergio Martins
330f5aebdf
cmake: Add -Wundef
2021-07-09 22:26:01 +01:00
Sergio Martins
38c9a3d9c6
qtquick: Require C++17
...
Fixes build due to not finding <optional>
2021-07-02 22:33:34 +01:00
Allen Winter
d7bcbe666c
Require Qt5.12 or higher
2021-06-26 08:46:52 -04:00
Allen Winter
fb1f3fa931
CMakeLists.txt - ECM doesn't support generating pri files for Qt6 yet
2021-06-09 09:12:14 -04:00
Allen Winter
7b5d5d0f31
buildsystem - fix some --warn-uninitialized
2021-06-08 10:44:33 -04:00
Sergio Martins
68034de1a7
cmake: Fix ASAN not actually being enabled
...
Was only enabled for the tests.
Needed to move it up.
2021-05-20 16:41:10 +01:00
Sergio Martins
f67d8615ca
cmake: Remove manually setting ASAN on Windows
...
It's done by ECM now
2021-05-20 16:30:23 +01:00
Sergio Martins
71a538651a
Enable ASAN on Windows too
2021-05-18 16:00:54 -07:00
Allen Winter
be8d00f0c8
buildsystem - KD namespace the KDAB cmake modules
2021-05-16 11:03:21 -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
e29f7cb1d3
CMakeLists.txt - fixup a bit of documentation
2021-03-13 17:08:55 -05:00
Sergio Martins
8970274810
cmake: Fix some --warn-uninitialized warning
2021-03-13 09:51:06 +00:00
Sergio Martins
d57fd8bfd3
cmake: Uncomment the QtQuick option
...
People can try it now
2021-03-13 09:39:23 +00:00
Sergio Martins
8507866891
cmake: Remove the fat warning about QtQuick
...
It can be tried now
2021-03-13 09:37:31 +00:00
Allen Winter
a2605868db
Merge branch '1.3'
2021-02-26 18:30:03 -05:00
Allen Winter
67be35b9f8
CMakeLists.txt - don't create the dummy docs target
...
it can conflict when used as a submodule
2021-02-26 18:29:10 -05:00
Allen Winter
b15eb1e62f
Merge branch '1.3'
2021-02-26 17:09:08 -05:00
Allen Winter
d2e3ec0448
buildsystem - add a 'docs' target
...
only available with cmake -DKDDockWidgets_DOCS=true
2021-02-26 17:07:58 -05:00
Allen Winter
828c403fe5
Merge branch '1.3'
2021-02-26 16:40:18 -05:00
Allen Winter
6ed8742cc1
buildsystem - install library with "-qt6" when built for Qt6
2021-02-26 16:35:08 -05:00
Milian Wolff
1ff6f43eac
Allow disabling the uninstall target
...
Prevents clashes when kddockwidgets is included as a submodule
into a project that already defines an uninstall target.
2021-02-17 20:47:49 +01:00
Sergio Martins
3d191da07e
Remove the unity build option, there's already a CMake way
...
-DCMAKE_UNITY_BUILD should do the same thing.
Disabling it by default since the project is too small for the gains,
and because it screws up the compile_commands.json which I need
for vscode
2021-02-14 23:28:46 +00:00
Sergio Martins
a4d03c1514
Add a mdi-example
...
Don't want the main example to be too complex
2021-02-13 12:01:01 +00: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
05413d5a99
Open master for 1.4
2021-02-09 10:44:28 +00:00
Allen Winter
eac726fcb8
open for 1.3.1
2021-02-08 17:05:21 -05:00
Allen Winter
02167a0788
CMakeLists.txt - ECMGeneratePriFile needs CMake v3.12 or above
2021-02-08 16:15:25 -05:00
Allen Winter
3089535de6
CMakeLists.txt, conan/conanfile.py - this is version 1.3.0
2021-02-06 10:31:17 -05:00
Sergio Martins
2c5cf77cf2
Fix build with cmake Visual Studio generator
...
Fixes #156
2021-02-02 23:02:04 +00:00
Jacob Young
b81c32b1c9
Fix issues with pri file.
2021-01-07 20:43:47 -05:00
Sergio Martins
5b60a929ab
Merge branch '1.2'
2021-01-04 00:20:56 +00:00
Sergio Martins
f4404dcbe0
qt6: disable -Wconversion
...
the long long int to int conversions due to the Qt6 containers
are harmless
2021-01-04 00:12:55 +00:00
Allen Winter
875544a449
Merge branch '1.2'
2021-01-02 09:32:20 -05:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Sergio Martins
244a1bec24
Merge branch '1.2'
2020-12-23 14:34:39 +00:00