@@ -29,9 +29,13 @@ Clone/Download the repository. For example:
29
29
```
30
30
git clone https://github.com/kovzol/aris
31
31
```
32
+ You may need to install additional software like ` cmake ` , Qt, ` ninja ` , and of course, you need to have
33
+ a working C/C++ compiler toolchain.
32
34
33
35
### gtk version
34
36
37
+ #### Linux or Mac
38
+
35
39
1 . Follow the steps:
36
40
```
37
41
mkdir build
@@ -67,7 +71,17 @@ cmake ..
67
71
68
72
4 . Launch using ` ./aris ` .
69
73
70
- For further instructions on building and installation ( without ` cmake ` ), refer to the [ INSTALL] ( INSTALL ) file.
74
+ For further instructions on building and installation (without ` cmake ` ), refer to the [ INSTALL] ( INSTALL ) file.
75
+
76
+ ##### Windows (with MINGW)
77
+
78
+ Run the following inside ` aris/ ` :
79
+ ```
80
+ mkdir build
81
+ cd build
82
+ cmake -G "MinGW Makefiles" ..
83
+ mingw32-make -j4
84
+ ```
71
85
72
86
#### Snap Installation
73
87
@@ -77,11 +91,14 @@ To install GNU Aris through snap, visit https://snapcraft.io/aris and find the r
77
91
#### Using ` cmake `
78
92
79
93
##### Linux
80
- Run the following inside ` aris/ ` :
94
+ Run the following inside ` aris/ ` :
81
95
```
82
96
cmake -S qt/ -B build-qt/ -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=Release
83
97
cmake --build build-qt/ --target all
84
98
```
99
+ (In case Qt is installed in a non-system folder, add ` -DCMAKE_PREFIX_PATH=... ` to the first command line.
100
+ See https://stackoverflow.com/a/66457331 for more information.)
101
+
85
102
This should generate a binary ` aris-qt ` inside ` build-qt/ ` , it can be run with ` ./aris-qt ` or you can install to ` /usr/local ` with:
86
103
```
87
104
cd build-qt/ && cmake -P cmake_install.cmake
@@ -91,15 +108,6 @@ To uninstall:
91
108
cd build-qt/ && xargs rm < install_manifest.txt
92
109
```
93
110
94
- ##### Windows (with MINGW)
95
-
96
- Run the following inside ` aris/ ` :
97
- ```
98
- mkdir build
99
- cd build
100
- cmake -G "MinGW Makefiles" ..
101
- mingw32-make -j4
102
- ```
103
111
104
112
#### Using ` qmake `
105
113
0 commit comments