Commit Graph

370 Commits

Author SHA1 Message Date
Martchus 6df6474840 Allow configuring supported image formats
This allows to add an option for linking against static Qt
image format plugins in qtutilities.
2017-09-03 17:53:20 +02:00
Martchus 7754cf82d8 dependency info: Support prefixed static Qt 5 modules 2017-09-03 17:50:23 +02:00
Martchus 357ede4ee7 chrono utils: Improve handling micro- and nanoseconds
DateTime and TimeSpan have an accuracy of 100 nanoseconds.

This commit ensures this is also handled in toString() and
fromString() methods and adds relevant convenience methods.
2017-08-31 02:17:05 +02:00
Martchus 9c8bb44843 Fix mingw-w64 targets 2017-08-31 02:16:05 +02:00
Martchus f8c7a0a0a8 Do not set BUNDLE DESTINATION unless platform is MacOS X
Because that seems to prevent executables from being installed
when using install-binary target
2017-08-31 02:15:56 +02:00
Martchus 032111eef0 Distinguish exporting/enabling resources of static libs
Required because we now allow to provide dynamic libs as
dependencies of static libs
2017-08-31 02:15:46 +02:00
Martchus 17a08baeb5 Fix including config when building app as testlib 2017-08-30 22:53:35 +02:00
Martchus b618d7c4b7 Improve build instructions 2017-08-25 15:01:32 +02:00
Martchus 11e2c48c06 Prevent usage of include_directories
Rather use target_include_directories
2017-08-23 23:10:05 +02:00
Martchus 3b04ed0b30 Improve documentation about USE_NATIVE_FILE_BUFFER 2017-08-21 01:19:04 +02:00
Martchus a38ef8db34 Improve documentation 2017-08-17 19:12:25 +02:00
Martchus c88fd9f9a8 Fix calculation of overall test coverage 2017-08-17 17:59:29 +02:00
Martchus a475ef8693 Make creating overall test coverage depend on awk script 2017-08-17 17:59:08 +02:00
Martchus a40d6cad61 Update documentation about the build system 2017-08-11 21:05:04 +02:00
Martchus b45fe7eaeb Allow providing a shared lib as dependency for a static lib
Previously the case when the dependency of a static library
was provided by a dynamic library has not been handled
correctly leading to linker errors when building the final
application.
2017-08-06 00:35:11 +02:00
Martchus 86e12a1164 Fix include dirs for build interface
* The project directory is part of the include
  directives, eg. #include <c++utilities/...
* So the include search path must be one level
  above the project directory.
2017-08-05 18:41:41 +02:00
Martchus b7381eb55c Do not use -static under MacOS 2017-08-05 18:38:02 +02:00
Martchus 32210c2dca Remove unused header in math tests 2017-08-05 18:34:50 +02:00
Martchus 6ed336bf94 Allow specifying install destination for bundles
* Install destination for bundles can be set via
  cache variable BUNDLE_INSTALL_DESTINATION
* Default is the dir used for regular applications
2017-08-05 18:33:57 +02:00
Martchus de6b4be8b3 Test math utilities 2017-08-02 13:29:22 +02:00
Martchus 69aed0bea5 Move implementation of all math utilities in the correct namespace 2017-08-02 13:28:35 +02:00
Martchus 15bf2779c5 Make pkg-config file for both, dynamic and static target 2017-07-30 00:56:12 +02:00
Martchus b69d4a8b65 Disable DateTime::exactGmtNow() under MacOS
`clock_gettime(CLOCK_REALTIME, &t);` does not seem to
be available under MacOS
2017-07-29 00:32:19 +02:00
Martchus 8bed0adc00 Test printing dependency versions 2017-07-28 20:47:49 +02:00
Martchus f2b8ee4184 Test ownership also for BinaryWriter class 2017-07-28 20:35:05 +02:00
Martchus 1d4a4bd2be binary reader/writer: Increase limit of length-prefixed strings
So strings with a size up to 0xFFFFFFFFFFFFFF byte can be handled.
2017-07-28 20:34:50 +02:00
Martchus f4faf652fd Improve argument parser tests 2017-07-28 19:33:55 +02:00
Martchus d7cf4312bf bash completion: Fix case when no current word index specified 2017-07-28 18:24:52 +02:00
Martchus e4709099d2 Prevent error in coverage target when building only static libs 2017-07-28 17:34:28 +02:00
Martchus 1af88c964e bash completion: Show values for implicit args
So eg. `tageditor get [tab][tab]` also suggests specifying
field names directly instead of only via --fields.
2017-07-28 17:32:16 +02:00
Martchus c966e3fb1b Improve finding cppunit
* Add include dir
* Make library/include dir configurable via cache variable
2017-07-22 15:33:41 +02:00
Martchus 73e0832891 Improve README section for RPM packages 2017-07-22 15:32:06 +02:00
Martchus f7fecf8a6f Improve documentation of build-variables 2017-07-20 02:30:00 +02:00
Martchus 36b2498dd6 Allow disabling install targets
Might be useful if install targets cause
problems, eg. under MacOS
2017-07-20 01:43:10 +02:00
Martchus 326551ee02 Allow to force use of external iconv 2017-07-20 01:25:13 +02:00
Martchus 73f11eeb2a detecting 3rdparty libs: Fix overriding cache variables 2017-07-20 01:24:35 +02:00
Martchus 144175bb3a Document necessity to run chrono test with different timezones 2017-07-16 18:34:42 +02:00
Martchus f2189a15ce Make check for DateTime::fromTimeStamp timezone-independent 2017-07-16 18:20:41 +02:00
Martchus 942c14ce3d Fix target include dirs
* Add include path of own header files for build
  and external use via imported target. Previously
  only include dirs required for external libs were
  added.
* Using global include dirs is no longer required.
* When PUBLIC_SHARED_INCLUDE_DIRS is empty, adding
  "${PUBLIC_SHARED_INCLUDE_DIRS}" to public include dirs
  does not leave INTERFACE_INCLUDE_DIRECTORIES property
  empty. Instead the source dir is added. So just don't
  use quotes here.
2017-07-11 22:02:27 +02:00
Martchus 99cc68bdee Improve doc of config vars 2017-07-11 20:27:23 +02:00
Martchus 28f76db46e Add install target for 'extra-files'
So additional files like tests/calculateoverallcoverage.awk
and coding-style.clang-format are installed and can be used
by other projects, too.
2017-07-11 19:34:38 +02:00
Martchus 37a8b78689 Update summary of stringbuilder benchmark
So it matches new results of commit
17fe42e0ad
2017-07-11 19:16:32 +02:00
Martchus 442f7a9b25 Exclude generated files from coverage
* So files generated by moc or qdbusxml2cpp are not
  part of coverage statistics
* When filtering files, llvm-cov prints multiple tables
  showing coverage on function level.
  -> Generate overall coverage stats via awk.
2017-07-09 23:38:11 +02:00
Martchus 6f146072ea Allow overriding 3rd party libs/includes
So passwordfile can be told to use legacy OpenSSL
header in accordance with Qt 5 which still requires
OpenSSL 1.0
2017-07-04 22:44:32 +02:00
Martchus 22c8e636dc Write digitToChar() in a more compact way 2017-06-29 18:24:11 +02:00
Martchus 94136d9b85 Merge pull request #7 from svnpenn/master
catchiofailure.cpp: "_GLIBCXX_USE_CXX11_ABI" redefined
2017-06-25 19:47:42 +02:00
Steven Penny 7f140c7058 catchiofailure: defined _GLIBCXX_USE_CXX11_ABI first to cover GCC 5
Fix #7
2017-06-25 12:29:32 -05:00
Martchus 8b0661713b Improve conversion tests 2017-06-25 16:03:46 +02:00
Martchus 4157f8849a Improve argument parser tests 2017-06-25 16:03:40 +02:00
Martchus 3bc9a7b07a Fix handling negative time spans 2017-06-25 16:00:11 +02:00