Skip to content

Commit 29553a5

Browse files
committed
update readme, upgraded sde
1 parent a07cb72 commit 29553a5

File tree

4 files changed

+101
-36
lines changed

4 files changed

+101
-36
lines changed

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,16 @@ mulle-sde install --prefix /usr/local \
155155

156156
### Legacy Installation
157157

158-
Install the requirements:
158+
#### Requirements
159+
160+
Preferably install mulle-core and be done with it:
161+
162+
| Requirements | Description
163+
|--------------------------------------------------|-----------------------
164+
| [mulle-core](//github.com/mulle-core/mulle-core) |🌋 Almagamated library of mulle-core + mulle-concurrent + mulle-c
165+
166+
167+
Or if you really want to do it exhaustively:
159168

160169
| Requirements | Description
161170
|----------------------------------------------|-----------------------
@@ -167,20 +176,24 @@ Install the requirements:
167176
| [mulle-atexit](https://github.com/mulle-core/mulle-atexit) | 👼 Compatibility library to fix atexit
168177
| [mulle-dlfcn](https://github.com/mulle-core/mulle-dlfcn) | ♿️ Shared library helper
169178

179+
#### Download & Install
180+
170181
Download the latest [tar](https://github.com/mulle-core/mulle-testallocator/archive/refs/tags/latest.tar.gz) or [zip](https://github.com/mulle-core/mulle-testallocator/archive/refs/tags/latest.zip) archive and unpack it.
171182

172183
Install **mulle-testallocator** into `/usr/local` with [cmake](https://cmake.org):
173184

174185
``` sh
186+
export MULLE_SDK_PATH="/usr/local" # important!
175187
cmake -B build \
176-
-DCMAKE_INSTALL_PREFIX=/usr/local \
177-
-DCMAKE_PREFIX_PATH=/usr/local \
188+
-DCMAKE_INSTALL_PREFIX="${MULLE_SDK_PATH}" \
189+
-DCMAKE_PREFIX_PATH="${MULLE_SDK_PATH}" \
178190
-DCMAKE_BUILD_TYPE=Release &&
179191
cmake --build build --config Release &&
180192
cmake --install build --config Release
181193
```
182194

183195

196+
184197
## Author
185198

186199
[Nat!](https://mulle-kybernetik.com/weblog) for Mulle kybernetiK

cmake/share/CMakeTweaksC.cmake

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmake/share/Environment.cmake

Lines changed: 37 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cola/install.md.bud

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Install
2+
3+
Use [mulle-sde](//github.com/mulle-sde) to build and install {{ project.name }}{{ dependencies.count ? " and all dependencies" : "" }}:
4+
5+
``` sh
6+
mulle-sde install --prefix /usr/local \
7+
https://{{ project.host ? project.host : "github.com"}}/{{ project.user }}/{{ project.repo }}/archive/latest.tar.gz
8+
```
9+
10+
### Legacy Installation
11+
12+
#### Requirements
13+
14+
Preferably install mulle-core and be done with it:
15+
16+
| Requirements | Description
17+
|--------------------------------------------------|-----------------------
18+
| [mulle-core](//github.com/mulle-core/mulle-core) |🌋 Almagamated library of mulle-core + mulle-concurrent + mulle-c
19+
20+
21+
{% if dependencies.count %}
22+
Or if you really want to do it exhaustively:
23+
24+
| Requirements | Description
25+
|----------------------------------------------|-----------------------
26+
{% for item in dependencies %}
27+
| [{{ item.name}}]({{ item.url }}) | {{ item.description }}
28+
{% endfor %}
29+
{% endif %}
30+
31+
#### Download & Install
32+
33+
Download the latest [tar](https://github.com/{{ project.user }}/{{ project.name }}/archive/refs/tags/latest.tar.gz) or [zip](https://github.com/{{ project.user }}/{{ project.name }}/archive/refs/tags/latest.zip) archive and unpack it.
34+
35+
Install **{{ project.name }}** into `/usr/local` with [cmake](https://cmake.org):
36+
37+
``` sh
38+
export MULLE_SDK_PATH="/usr/local" # important!
39+
cmake -B build \
40+
-DCMAKE_INSTALL_PREFIX="${MULLE_SDK_PATH}" \
41+
-DCMAKE_PREFIX_PATH="${MULLE_SDK_PATH}" \
42+
-DCMAKE_BUILD_TYPE=Release &&
43+
cmake --build build --config Release &&
44+
cmake --install build --config Release
45+
```
46+

0 commit comments

Comments
 (0)