Skip to content

Commit 49f603a

Browse files
committed
Add instructions on building on Windows with Visual Studio.
1 parent 0ea7f13 commit 49f603a

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

COMPILING.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,27 @@ Maven 3 manually.
253253
gmake -C jbmc/src
254254
```
255255
256-
# WORKING WITH ECLIPSE
256+
# Working with IDEs
257+
258+
## Working with Visual Studio on Windows
259+
260+
Follow these instructions to work on Windows with Visual Studio:
261+
262+
1. Open the `cbmc` folder in Visual Studio. Visual Studio 2017 and
263+
later have automated support for CMake projects, so you need to
264+
give sometime to Visual Studio to index the project and load its
265+
own plugins, and then it's going to be ready to build `cbmc`.
266+
2. Once indexing and plugin loading has finished, a menu `Build`
267+
should have appeared on the top bar. From there, select `Build All`.
268+
3. After the build has finished, there should be a folder `out` present.
269+
Navigating `out/build/<build_parameters>/bin` should get you to the
270+
binaries and other artifacts built, with `<build_parameters>` corresponding
271+
to something like `x64-Debug (Default)` or whatever the equivalent is
272+
for your system.
273+
274+
The above instructions have been tested against Visual Studio 2019.
275+
276+
## Working with Eclipse
257277
258278
To work with Eclipse, do the following:
259279

0 commit comments

Comments
 (0)