Dennis Klein
afadb2a078
Make find_package2 a bit smarter
...
The VERSION arguments now supports multiple values and picks the highest
version from the given. The COMPONENTS argument now automatically
removes duplicates.
2019-07-19 14:45:27 +02:00
Dennis Klein
4351b98d85
clang-tidy: Configure via file
2019-07-10 19:35:18 +02:00
Dennis Klein
b1c8264123
find_package2: Fix list sub-command REMOVE_DUPLICATES requires list to be present
...
Fixes #175
2019-06-27 14:02:15 +02:00
Dennis Klein
187a821f36
CMake: Revert VERSION option to single value arg
...
This fixes a regression introduced in 0ff8eaf
that caused other options
to be ineffective in certain cases.
Resolves #164
2019-06-26 20:42:20 +02:00
Dennis Klein
465d90924b
CMake: Implement ADD_REQUIREMENTS_OF option for find_package2
...
Resolves #142
2019-06-26 20:42:20 +02:00
Dennis Klein
479c16a8fa
CMake: Export build type and cxx flags
...
Resolve #158
2019-06-24 19:06:38 +02:00
Dennis Klein
660420e4f3
CMake: Support running static analysis
...
OFF by default (Imposes significant additional build time). Controlled
with CMake variable RUN_STATIC_ANALYSIS.
Supported analysers:
* clang-tidy
* iwyu
* cpplint
2019-06-04 12:17:37 +02:00
Dennis Klein
f8f997abe6
CMake: Set policies by version
...
This is the recommended way of dealing with policies. Also, this patch
fixes a problem with the policies being set at the wrong depth in the
policy stack.
2019-06-04 12:17:37 +02:00
Dennis Klein
95ec56dcf0
Fix regression in exporting required dependency components
...
Regression introduced with 0ff8eaf
2019-03-06 16:26:24 +01:00
Dennis Klein
a262d4684a
Set cmake policy CMP0074
2019-03-06 14:23:08 +01:00
Dennis Klein
35dd9578aa
Set C++17 when building OFI transport
...
Improve ctest definitions
2019-03-06 14:23:08 +01:00
Dennis Klein
0ff8eaf84d
Fix package dependencies
2019-03-06 14:23:08 +01:00
Dennis Klein
4d7a1c81c6
Depend on asiofi
2019-03-06 14:23:08 +01:00
Dennis Klein
1fdf510ae7
Pick correct build type in CI
2018-10-10 20:28:10 +02:00
Dennis Klein
cf9a2944c2
Introduce and export hotfix version component
...
The cmake variable PROJECT_VERSION_HOTFIX contains the hotfix version
component. 0 means no hotfix, 1 means the first hotfix, 2 the second,
and so on.
2018-09-20 18:09:07 +02:00
Dennis Klein
60f27b94b2
Support BUILD_SHARED_LIBS flag
...
https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html
2018-09-19 19:09:10 +02:00
Dennis Klein
ff701006fd
Reflect dev version in the installed artifacts
2018-08-09 16:15:15 +02:00
Dennis Klein
5e6f3a5430
Enable color output with Ninja
2018-08-09 16:15:15 +02:00
Dennis Klein
c064da91df
Add ThreadSan/AddressSan build types and print table
2018-07-27 17:09:52 +02:00
Dennis Klein
9bab3f9f4c
Support msgpack 3.x
...
Fixes #32
2018-07-18 16:13:18 +02:00
Dennis Klein
c0977d1f1e
Add docs target and build option BUILD_DOCS
2018-05-03 19:43:43 +02:00
Dennis Klein
4366d924dd
Add nightly build pipeline
2018-05-02 16:12:25 +02:00
Dennis Klein
55917adc44
Do not replace, but prepend
2018-04-23 18:19:07 +02:00
Dennis Klein
7bb4b0625e
Depend on ZeroMQ via CMake package
2018-04-23 17:38:47 +02:00
Dennis Klein
96e326cf3c
Check upper bound of CXX_STANDARD and always disable extensions
2018-04-23 16:54:20 +02:00
Dennis Klein
74602075f5
Add PREFIX column to summary
...
Resolves #11
2018-04-23 11:39:44 +02:00
Dennis Klein
219487d489
Enable RUNPATH entries
2018-04-20 19:28:05 +02:00
Dennis Klein
debc23b98b
Set relative install RPATH
2018-04-20 18:30:49 +02:00
Dennis Klein
7ba85c8a2b
Do not install libs in its own directory
2018-04-19 19:47:55 +02:00
Dennis Klein
29f5ed006a
Enable install RPATH
2018-04-18 02:26:06 +02:00
Dennis Klein
f2a753e1bd
Support package components and drop transitive dependency discovery
2018-04-17 20:24:15 +02:00
Dennis Klein
b9651437c3
Improve summary and implement find_package2
2018-04-16 20:32:44 +02:00
Dennis Klein
83315b2951
Generate package dependencies
...
and install Version.h.
2018-04-16 01:36:51 +02:00
Dennis Klein
c98cef8270
Add CMake project
2018-04-10 19:47:30 +02:00