Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bb1fb8d

Browse files
doc(doc/build.md): add description of building on linux.
1 parent 07cb195 commit bb1fb8d

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

‎doc/Build.md‎

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,32 @@
33
1. Install ```mingw-w64``` and set the enviroment variable.
44
2. clone the project.
55
3. use the following command
6+
```
7+
$ mkdir build
8+
$ cd build
9+
$ cmake .. -G "MinGW Makefiles"
10+
$ mingw32-make
611
```
7-
$ mkdir build
8-
$ cd build
9-
$ cmake .. -G "MinGW Makefiles"
10-
$ mingw32-make
11-
```
12+
13+
## Cmake build on Linux
14+
15+
1. clone the project.
16+
2. use the following command
17+
```
18+
$ mkdir build
19+
$ cd build
20+
$ cmake ..
21+
$ make
22+
```
23+
24+
## Cmake cross-build on Linux targeting windows
25+
26+
1. Install ```mingw-w64``` and set the enviroment variable.
27+
2. clone the project.
28+
3. use the following command
29+
```
30+
$ mkdir build
31+
$ cd build
32+
$ cmake .. -DNN_CROSS_COMPILE=ON
33+
$ make
34+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /