Skip to content

Commit adb7f55

Browse files
reukreuk
reuk
authored andcommitted
Add Windows dependency information to the COMPILING file
1 parent 6388940 commit adb7f55

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

COMPILING.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ using "make generated_files" before opening the project.
177177
There is an experimental build based on CMake instead of hand-written
178178
makefiles. It should work on a wider variety of systems than the standard
179179
makefile build, and can integrate better with IDEs and static-analysis tools.
180+
On Windows, the CMake build does not depend on Cygwin or MinGW, and doesn't
181+
require manual modification of build files.
180182
181183
1. Ensure you have all the build dependencies installed. Build dependencies are
182184
the same as for the makefile build, but with the addition of CMake version
@@ -196,9 +198,15 @@ makefile build, and can integrate better with IDEs and static-analysis tools.
196198
```
197199
You shoud also install [Homebrew](https://brew.sh), after which you can
198200
run `brew install cmake` to install CMake.
199-
- On Windows, install Cygwin, then from the Cygwin setup facility install
200-
`cmake`, `flex`, `bison`, `tar`, `gzip`, `git`, `make`, `wget`, and
201-
`patch`.
201+
- On Windows, ensure you have Visual Studio 2013 or later installed.
202+
Then, download CMake from the [official download
203+
page](https://cmake.org/download).
204+
You'll also need `git` and `patch`, which are both provided by the
205+
[git for Windows](git-scm.com/download/win) package.
206+
Finally, Windows builds of flex and bison should be installed from
207+
[the sourceforge page](sourceforge.net/projects/winflexbison).
208+
The easiest way to 'install' these executables is to unzip them and to
209+
drop the entire unzipped package into the CBMC source directory.
202210
- Use of CMake has not been tested on Solaris or FreeBSD. However, it should
203211
be possible to install CMake from the system package manager or the
204212
[official download page](https://cmake.org/download) on those systems.

0 commit comments

Comments
 (0)