Dennis Klein
3358a2ba12
Require DDS 2.4
...
* Remove obsolete FindDDS.cmake
* Adapt to new DDS version
2019-06-26 18:39:12 +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
54b7742d85
Drop obsolete dependency to AZMQ
2019-03-21 18:03:32 +01: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
da070a407e
Depend on AZMQ
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
a670b4bbf5
Remove obsolete module
2019-03-06 14:23:08 +01:00
Dennis Klein
4d7a1c81c6
Depend on asiofi
2019-03-06 14:23:08 +01:00
Dennis Klein
1191c3cda5
Add PMIx plugin
...
Proof of concept for now.
2019-02-11 11:12:30 +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
c02fbed331
Require msgpack 3.1.0
...
Since 3.1.0 msgpack ships a proper CMake package exporting a target
for the header-only C++ library. Allows us to get rid of our custom
find module.
2018-08-30 17:39:56 +02:00
Dennis Klein
76aeb2c7e6
Require nanomsg 1.1.3
...
Since 1.1.3 nanomsg ships a CMake package, so we can get rid
of our custom find module.
2018-08-30 17:39:56 +02:00
Dennis Klein
db5f3d794c
Do not require the static library
...
Standard policy in most Linux distributions is to not install
static libraries.
2018-08-30 17:39:56 +02:00
Alexey Rybalchenko
5303e916fb
Enable definitions propagation for tests
2018-08-27 18:12:02 +02:00
Dennis Klein
ff701006fd
Reflect dev version in the installed artifacts
2018-08-09 16:15:15 +02:00
Dennis Klein
c8bd19b7a1
Add experimental FAST_BUILD option
...
Significantly reduces compile time for the FairMQ target with
precompiled headers and unity build. For maximum improvement, use
a multi-core-aware build tool, e.g. Ninja.
Leave it undocumented for now, let's first test it internally for a while.
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
ab6fd35a86
Add header-only target for msgpack
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
e54db27242
Remove the alias target
...
In some cases the definition of the alias target fails, because of
target visibility problems.
2018-05-22 15:21:35 +02:00
Dennis Klein
c0977d1f1e
Add docs target and build option BUILD_DOCS
2018-05-03 19:43:43 +02:00
Dennis Klein
d433b1cdc4
Reintroduce the zeromq find module
...
According to their current maintainer, the upstream libzmq project
is unlikely to switch to their CMake build system by default.
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
1a0140b3a9
Alias targets for imported targets are only supported from CMake 3.11+
2018-04-25 16:50:14 +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
930d5f15d1
Apply conventional naming rules
2018-04-23 11:38:19 +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
0581a67a31
Export CXX standard config
2018-04-18 15:58:23 +02:00
Dennis Klein
6a11639db8
Remove version constraint from CMake package
2018-04-18 15:49:00 +02:00
Dennis Klein
29f5ed006a
Enable install RPATH
2018-04-18 02:26:06 +02:00
Dennis Klein
00f1b56137
Export correct include dir
2018-04-18 00:18:39 +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
5e39011a5b
Fix build
2018-04-15 18:04:52 +02:00
Dennis Klein
c98cef8270
Add CMake project
2018-04-10 19:47:30 +02:00