Skip to content

Commit 76e7aac

Browse files
committed
upgraded sde, README.md
1 parent 27e2949 commit 76e7aac

File tree

5 files changed

+102
-37
lines changed

5 files changed

+102
-37
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required( VERSION 3.14)
1+
cmake_minimum_required( VERSION 3.13...99.99)
22

33
project( mulle-atexit VERSION 0.0.16 LANGUAGES C)
44

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,39 @@ mulle-sde install --prefix /usr/local \
6464

6565
### Legacy Installation
6666

67-
Install the requirements:
67+
#### Requirements
68+
69+
Preferably install mulle-core and be done with it:
70+
71+
| Requirements | Description
72+
|--------------------------------------------------|-----------------------
73+
| [mulle-core](//github.com/mulle-core/mulle-core) |🌋 Almagamated library of mulle-core + mulle-concurrent + mulle-c
74+
75+
76+
Or if you really want to do it exhaustively:
6877

6978
| Requirements | Description
7079
|----------------------------------------------|-----------------------
7180
| [mulle-thread](https://github.com/mulle-concurrent/mulle-thread) | 🔠 Cross-platform thread/mutex/tss/atomic operations in C
7281

82+
#### Download & Install
83+
7384
Download the latest [tar](https://github.com/mulle-core/mulle-atexit/archive/refs/tags/latest.tar.gz) or [zip](https://github.com/mulle-core/mulle-atexit/archive/refs/tags/latest.zip) archive and unpack it.
7485

7586
Install **mulle-atexit** into `/usr/local` with [cmake](https://cmake.org):
7687

7788
``` sh
89+
export MULLE_SDK_PATH="/usr/local" # important!
7890
cmake -B build \
79-
-DCMAKE_INSTALL_PREFIX=/usr/local \
80-
-DCMAKE_PREFIX_PATH=/usr/local \
91+
-DCMAKE_INSTALL_PREFIX="${MULLE_SDK_PATH}" \
92+
-DCMAKE_PREFIX_PATH="${MULLE_SDK_PATH}" \
8193
-DCMAKE_BUILD_TYPE=Release &&
8294
cmake --build build --config Release &&
8395
cmake --install build --config Release
8496
```
8597

8698

99+
87100
## Author
88101

89102
[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)