Skip to content

Commit f7aad64

Browse files
committed
Update README.md
Adding some changes and notes for compiling on windows.
1 parent f9fc36c commit f7aad64

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,17 @@ To compile Boost for Android you may use one of the following NDKs:
2929

3030
### Compiling
3131

32-
Linux:
33-
$ ./build-android.sh $(NDK_ROOT)
34-
35-
Windows:
36-
> build-android.bat $(NDK_ROOT)
37-
NOTE: Do not forget to replace backslash with slashes in $(NDK_ROOT). For example set $(NDK_ROOT) to D:/android-ndk-r8e instead of D:\android-ndk-r8e
32+
Linux.
33+
```
34+
./build-android.sh $(NDK_ROOT)
35+
```
36+
Windows:
37+
```
38+
build-android.bat $(NDK_ROOT)
39+
```
40+
NOTE: Do not forget to replace backslash with slashes in $(NDK_ROOT). For example set $(NDK_ROOT) to D:/android-ndk-r8e instead of D:\android-ndk-r8e
41+
42+
On windows you will need MSYS to be able to launch the corresponding bat files (http://www.mingw.org/wiki/MSYS).
3843

3944
This command will download and build boost against the NDK specified and output the final headers and libs in the `build` folder. Make sure to provide an absolute path the the NDK folder!
4045

0 commit comments

Comments
 (0)