diff options
| author | Tobias Markmann <tm@ayena.de> | 2014-10-23 06:31:06 (GMT) |
|---|---|---|
| committer | Swift Review <review@swift.im> | 2014-10-23 09:22:04 (GMT) |
| commit | 052190912463d8ea36979fd5a5e9a298588dce4f (patch) | |
| tree | 04c32c29bbf0792b4615de7f25b4c7686a768d8e | |
| parent | d2a21b5fc979b07794cd42ad551dd5f4f996fdc6 (diff) | |
| download | swift-contrib-052190912463d8ea36979fd5a5e9a298588dce4f.zip swift-contrib-052190912463d8ea36979fd5a5e9a298588dce4f.tar.bz2 | |
Adding notes to Windows build instructions based on recent experience.
Build Swift with VS 2013 Express under Windows 8.1. These notes would have helped
in retrospect.
Change-Id: I6ea9e8b9c44a2549292d226945e54c8a88e63aa1
| -rw-r--r-- | Documentation/BuildingOnWindows.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/BuildingOnWindows.txt b/Documentation/BuildingOnWindows.txt index 73b6906..a2d9948 100644 --- a/Documentation/BuildingOnWindows.txt +++ b/Documentation/BuildingOnWindows.txt @@ -21,35 +21,44 @@ Building Qt for Microsoft Visual C++ Building Swift -------------- - From the 'Visual C++' 'Programs' group, launch the Visual C++ command prompt - Go to the Swift source dir - Create a file 'config.py' with the following contents, reflecting your local setup: openssl = "path\to\openssl" #optional qt = "path\to\qt" - Run 'scons' - To build only a subdir, add the path as a target to scons. E.g., for Swift: scons Swift Running tests ------------- - Run scons test=unit for running the unit tests, or scons test=all for running all tests. Packaging Swift --------------- For packaging use: - Microsoft Visual C++ Express 2008 - No OpenSSL - WiX - config.py should contain: qt = "c:\\qt\\4.7.4" vcredist = "c:\\Program Files\\Common Files\\Merge Modules" debug = 1 optimize = 1 wix_bindir = "c:\\program files\\Windows Installer XML v3.5\\bin" - run scons dist=1 + +Notes +----- +- The settings debug = 1 and optimize = 1 are strictly required if you use + a precompiled Qt release from the Qt Project; otherwise you will get linker + errors +- On 64-bit Windows it's "Program Files (x86)" instead of "Program Files" in the + paths +- Currently only 32-bit builds of the Swift client are supported |
Swift