Commit Graph

33 Commits

Author SHA1 Message Date
Allen Winter
153aa65b40 CMakeLists.txt - fail if building bindings in non-release mode 2020-06-24 10:48:39 -04:00
Allen Winter
baed168458 CMakeLists.txt - require Qt5.9 or higher 2020-06-24 09:46:12 -04:00
Allen Winter
b825e0b9ea CMakeLists.txt - add option to disable building tests 2020-06-23 18:52:05 -04:00
Allen Winter
7aa45ebed9 CMakeLists.txt - add option to disable building examples 2020-06-23 18:45:03 -04:00
Allen Winter
c50fe5fa88 CMakeLists.txt - improvements
* add some doc at the top
 * set VERSION strings
 * disable Python bindings in debug build
 * consistent coding style
2020-06-23 18:17:46 -04:00
Allen Winter
bf4ef05d00 CMakeLists.txt - install doc files (LICENSE, README, etc) 2020-06-23 15:14:53 -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
Sergio Martins
91b291a1a9 tests: Tests now run 10x faster, with ctest -j10 or so
Introduced an indirection, tests_launcher, which can run a subset
of the 140 tests, this way it's paralelizable by ctest
2020-06-20 15:27:58 +01:00
Sergio Martins
e3276411f9 Propagate developer built into the example too 2020-06-17 16:20:21 +01:00
Sergio Martins
84989745b4 Use target_compile_options instead of the hammer
Doing per target ensures that the python stuff won't get -Werror.
We can now build the python bindings and still use the developer build
2020-06-17 14:37:42 +01:00
Renato Araujo Oliveira Filho
a599736c1b Create Python bidings
Added Cmake files
Ported examples
2020-06-16 15:12:41 -03:00
Sergio Martins
1f6c49d5ba Fix 5.15 build 2020-05-14 22:39:17 +01:00
Sergio Martins
d0b36cf932 add ctest to tst_multisplitter too
moved up otherwise the multisplitter one was being generated in
a different folder
2020-05-14 22:29:19 +01:00
Sergio Martins
2fe1e22076 Remove OPTION_SANITIZER_SUPPORT
We have ECM inside the repo now, so no point in guarding the include
2020-05-09 17:55:22 +01:00
Sergio Martins
dc4a1975ab Fix build with cmake < 3.12
3.12 is needed for HOMEPAGE_URL and DESCRIPTION support.

Bumped the minimum to 3.7, older fails.
Fixes: 43
2020-05-02 14:14:04 +01:00
Sergio Martins
8cc53ca5bb Also build the example when building KDDW
No need to install the library anymore
Fixes: #42
2020-05-01 13:07:25 +01:00
Colin Ogilvie
e383bc797e Run tests with ctest 2020-04-30 18:12:35 +01:00
Sergio Martins
48ef73d6d3 cmake: Rename OPTION_ASAN_SUPPORT to OPTION_SANITIZER_SUPPORT
As it can work with any type of sanitizers
2020-01-29 15:04:51 +00:00
Sergio Martins
00b6eab2d3 Don't build examples for now
Only a standalone build work, as the examples use <kddockwidget/
qualified includes, so require kddockwidgets to be built and
installed first
2019-10-07 00:22:38 +01:00
Sergio Martins
7d57af3b8c cmake: Don't advertise QtQuick support yet 2019-10-06 13:31:09 +01:00
Sergio Martins
abbc79f0e0 Progress with the QtQuick port 2019-09-07 16:20:22 +01:00
Sergio Martins
ebb37e9871 Fix build 2019-08-07 14:03:48 +01:00
Sergio Martins
022e91db78 More QtWidget decoupling 2019-08-07 13:35:45 +01:00
Sergio Martins
f37d9c0a94 Disable QtQuick support in cmake, not ready yet 2019-08-07 11:30:57 +01:00
Sergio Martins
a27b4b387a Split QWidgetAdapter into _widget and _quick variants
So we don't need so many ifdefs
2019-08-07 11:29:39 +01:00
Sergio Martins
cb7d1086b9 tests: Don't use QStringLiteral or any fancy Qt restrictions
It's very verbose and its preformance benefits aren't important
for the tests
2019-08-03 11:55:27 +01:00
Sergio Martins
b8307a4299 cmake adjustments suggested by jcelerier 2019-07-20 22:50:21 +01:00
Mike Krus
1824eb6892 Clean up cmake files
Use modern syntax in most places.
2019-07-19 22:45:22 +01:00
Sergio Martins
bcd44d5408 Build with QT_NO_KEYWORDS 2019-07-13 12:09:17 +01:00
Sergio Martins
cb0bc99285 cmake: Add -Werror -Wall -Wextra to gcc/clang
At least if DEVELOPER_MODE is enabled
2019-06-20 16:04:34 +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
Sergio Martins
e43b673858 Initial commit 2019-04-24 14:49:01 +01:00