Martchus
1a478411d6
Default to C++17
2019-05-11 18:42:38 +02:00
Martchus
e114b24d3c
Add helper to use pkg-config modules
...
This basically creates imported targets from those
pkg-config modules. It also supports static linkage.
The main effort here is that those imported targets
are also exported appropriately. This is implemented
by letting the config script re-run pkg-config as
required.
2019-05-09 19:27:10 +02:00
Martchus
b4cf641cfd
Fix setting library version
2019-05-07 16:49:19 +02:00
Martchus
a1267f2015
Fix handling undefined INTERFACE_REQUIRED_PACKAGES
2019-05-06 16:22:35 +02:00
Martchus
0443905986
Fix creation of desktop files
2019-05-05 23:19:05 +02:00
Martchus
02bd9f7c06
Add new fields to ApplicationInfo
2019-05-05 18:35:40 +02:00
Martchus
fa961b21bc
Adapt translatin search path to new config feature
2019-05-05 18:35:13 +02:00
Martchus
8cf60f63f0
Merge pull request #9 from Martchus/v5
...
Next major release
2019-05-04 23:37:29 +02:00
Martchus
b0b92ff1bf
Allow marking argument as deprecated
2019-05-04 23:14:43 +02:00
Martchus
6d4e13f2dc
Use struct to store global application info
2019-05-04 22:49:57 +02:00
Martchus
80fba8b6d4
Reduce indentation in argumentparser.cpp
2019-05-04 22:35:00 +02:00
Martchus
04a8ef02d5
Remove deprecated dependencyVersions
2019-05-04 21:44:25 +02:00
Martchus
497826f634
Prevent warnings in argumentparser{,tests}.cpp
2019-05-04 21:44:25 +02:00
Martchus
151a3ae9e5
Apply clang-format
2019-05-04 20:58:23 +02:00
Martchus
a17f322f3c
Apply cmake-format
2019-05-04 20:57:56 +02:00
Martchus
c4128799bc
Fix test for libstd++/Windows NativeFileStream configuration
2019-05-04 15:49:41 +02:00
Martchus
e8f5c5c948
Log total test result
2019-05-04 15:47:31 +02:00
Martchus
1480d9ab63
Support installing multiple configurations within the same prefix
2019-05-04 01:59:45 +02:00
Martchus
8ffe0e6a51
Polish CMake code
2019-04-22 22:19:08 +02:00
Martchus
a6fdb3369a
Make unsuccessful testFilePath() throw an exception
2019-04-22 20:42:48 +02:00
Martchus
e9cc26478b
Don't mix building static and shared libraries
2019-04-22 20:42:48 +02:00
Martchus
6d7a6ab735
Don't pretent to add arguments implicitely
2019-04-13 20:33:39 +02:00
Martchus
cfdfc302db
Use exit function passed to argument parser
2019-04-13 20:33:39 +02:00
Martchus
57c896b547
Store boolean properties of Argument as flags
2019-04-13 20:33:39 +02:00
Martchus
9a50d2b8df
Remove types
2019-04-13 20:33:39 +02:00
Marius Kittler
132f936c57
Remove workaround for GCC Bug 66145
2019-04-13 20:33:39 +02:00
Marius Kittler
2f141adb6f
Remove random() function
2019-04-13 20:33:39 +02:00
Marius Kittler
73ddc55702
Inline some methods of BinaryReader/BinaryWriter
2019-04-13 20:33:39 +02:00
Marius Kittler
a7926951cb
Make firstPresentUncombinableArg() private
2019-04-13 20:33:39 +02:00
Marius Kittler
07a74d5fa8
Rename openFromFileDescriptor() to open()
2019-04-13 20:33:39 +02:00
Marius Kittler
4449198711
Remove file handle from NativeFileStream
2019-04-13 20:33:39 +02:00
Martchus
f40a800107
Remove USE_NOTHROW and make ConversionException inline
2019-04-13 20:33:39 +02:00
Martchus
62902f98e8
Remove settingsDirectory()
2019-04-13 20:33:39 +02:00
Martchus
716af584c5
Use CMakeParseArguments for add_custom_desktop_file()
2019-04-13 20:33:39 +02:00
Martchus
e79563569a
Improve Period class
2019-04-13 20:33:39 +02:00
Martchus
6088f6bb43
Don't include Qt-specific config in config.h
2019-04-13 20:33:39 +02:00
Martchus
ac8fe5d2c7
Improve constructors for test application
2019-04-13 20:33:39 +02:00
Martchus
264a349751
Remove widen.h, use iconv based string conversion instead
2019-04-13 20:33:39 +02:00
Martchus
bc8ea407bc
Prevent use of static variables in ArgumentParser
...
Have --no-color and --help added by default rather
so argument parser is in control over them and don't
has to use static functions.
2019-04-13 20:33:39 +02:00
Martchus
8b919250e3
chrono utils: Make public constants signed
2019-04-13 20:33:39 +02:00
Martchus
b178bb086c
Remove random utilities
2019-04-13 20:33:39 +02:00
Martchus
d99a611fbc
Bump major version 4 -> 5
2019-04-13 20:33:39 +02:00
Martchus
115426c1bc
Fix linking test target against static library
2019-04-13 20:31:40 +02:00
Martchus
41fa627ef4
Apply tidy
2019-03-11 17:47:17 +01:00
Martchus
7452d44e64
Prevent formatting bitrate as "-NaN GiB/s"
2019-03-10 16:26:23 +01:00
Martchus
0bd53c77b5
Query install directory for Qt plugins from qmake
2019-02-27 21:05:23 +01:00
Martchus
cf86358f55
Document TLS variable
2019-02-07 17:47:15 +01:00
Martchus
86f3bf8b3b
Apply cmake-format
2019-02-06 17:30:52 +01:00
Martchus
42dd86a16e
Support cmake-format via tidy target
2019-02-05 22:51:07 +01:00
Martchus
da0cf4ff29
Fix build under Android platform >= 24
...
This alters the ABI but it is ok since with that config
a build was previously impossible anyways.
2019-02-04 00:40:50 +01:00