File tree 3 files changed +34
-0
lines changed
3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ directory instead of standard one:
14
14
hunter_add_package(Foo)
15
15
find_package(Foo)
16
16
17
+ .. _dependencies conflict :
18
+
17
19
Conflict
18
20
========
19
21
Original file line number Diff line number Diff line change 3
3
4
4
FAQ
5
5
---
6
+
7
+ .. toctree ::
8
+ :glob:
9
+ :maxdepth: 1
10
+
11
+ /faq/*
Original file line number Diff line number Diff line change
1
+ .. Copyright (c) 2016, Ruslan Baratov
2
+ .. All rights reserved.
3
+
4
+ How does Hunter interact with other package managers?
5
+ =====================================================
6
+
7
+ Mixing package managers in general is a bad idea (see for example
8
+ `Macports and Homebrew <http://superuser.com/q/181337/252568 >`__). Such approach
9
+ may lead to :ref: `conflicts <dependencies conflict >`, violates
10
+ :doc: `automatic downloads principle </overview/automatic >` and make impossible
11
+ the usage of central server with binaries because information about dependency
12
+ will not be saved. Also it does break reproducibility feature of Hunter since
13
+ version of system package may differs for different OSes, e.g. default version
14
+ of Boost on ``Ubuntu 14.04 `` is ``1.54.0 `` and for ``Ubuntu 16.04 ``
15
+ it's ``1.58.0 ``.
16
+
17
+ Note that Hunter can install packages in the same way as regular package
18
+ managers do: you can set all build types to ``Release ``, ``BUILD_SHARED_LIBS=ON ``
19
+ and upload binaries to public. So the question
20
+ ``How to make Hunter interact with system libraries? `` should really be
21
+ ``How to improve Hunter so it behaves like system package manager? ``, e.g.
22
+ add new packages that are currently missing.
23
+
24
+ .. seealso ::
25
+
26
+ * `Feature requests: use system packages <https://github.com/ruslo/hunter/issues/501 >`__
You can’t perform that action at this time.
0 commit comments