Skip to content

Commit b5075d7

Browse files
author
John Nonweiler
committed
Document git submodule update in COMPILING.md
1 parent ef3eb4f commit b5075d7

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

COMPILING.md

+11-7
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
6666

6767
5. To compile JBMC, do
6868
```
69-
make -C jbmc/src java-models-library-download
69+
make -C jbmc/src setup-submodules
7070
make -C jbmc/src
7171
```
7272

@@ -92,7 +92,7 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
9292
```
9393
4. To compile JBMC, type
9494
```
95-
gmake -C jbmc/src java-models-library-download
95+
gmake -C jbmc/src setup-submodules
9696
gmake -C jbmc/src
9797
```
9898

@@ -118,7 +118,7 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
118118
```
119119
4. To compile JBMC, do
120120
```
121-
gmake -C jbmc/src java-models-library-download
121+
gmake -C jbmc/src setup-submodules
122122
gmake -C jbmc/src
123123
```
124124

@@ -144,7 +144,7 @@ Follow these instructions:
144144
```
145145
4. To compile JBMC, do
146146
```
147-
make -C jbmc/src java-models-library-download
147+
make -C jbmc/src setup-submodules
148148
make -C jbmc/src
149149
```
150150

@@ -187,7 +187,7 @@ Follow these instructions:
187187
```
188188
5. To compile JMBC, open the Cygwin shell and type
189189
```
190-
make -C jbmc/src java-models-library-download
190+
make -C jbmc/src setup-submodules
191191
make -C jbmc/src
192192
```
193193
@@ -240,7 +240,11 @@ require manual modification of build files.
240240
2. Navigate to the *top level* folder of the project. This is different from
241241
the Makefile build, which requires you to navigate to the `src` directory
242242
first.
243-
3. Generate build files with CMake:
243+
3. Update git submodules:
244+
```
245+
git submodule update --init --recursive
246+
```
247+
4. Generate build files with CMake:
244248
```
245249
cmake -H. -Bbuild
246250
```
@@ -264,7 +268,7 @@ require manual modification of build files.
264268
Finally, to enable building universal binaries on macOS, you can pass the
265269
flag `-DCMAKE_OSX_ARCHITECTURES=i386;x86_64`. If you don't supply this flag,
266270
the build will just be for the architecture of your machine.
267-
4. Run the build:
271+
5. Run the build:
268272
```
269273
cmake --build build
270274
```

0 commit comments

Comments
 (0)