summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorRobin Lindén <dev@robinlinden.eu>2018-02-06 23:09:36 +0100
committerRobin Lindén <dev@robinlinden.eu>2018-02-08 18:41:49 +0100
commit0fbdb03f409f97299d27ba014b554e6313c5fb7f (patch)
tree66ac7a04e2b1fa9e66df134825f43a71db19dd7b /INSTALL.md
parentf2857932d2521bba53863e151266e04fdebe8544 (diff)
Add MSVC compilation instructions
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 067a4b9c..02eaf7f4 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -140,7 +140,20 @@ make install
140 140
141###### Microsoft Visual Studio's Developer Command Prompt 141###### Microsoft Visual Studio's Developer Command Prompt
142 142
143There are currently no instructions on how to build toxcore on Windows host in Microsoft Visual Studio's Developer Command Prompt. Contribution of the instructions is welcome! 143In addition to meeting the [requirements](#requirements), you need a version of Visual Studio (the [community edition](https://www.visualstudio.com/vs/visual-studio-express/) is enough) and a CMake version that's compatible with the Visual Studio version you're using.
144
145You must also ensure that the msvc versions of dependencies you're using are placed in the correct folders.
146
147For libsodium that is `c-toxcore/libsodium`, and for pthreads-w32, it's `c-toxcore/pthreads-win32`
148
149Once all of this is done, from the **Developer Command Prompt for VS**, simply run
150
151```
152mkdir _build
153cd _build
154cmake ..
155msbuild ALL_BUILD.vcxproj
156```
144 157
145###### MSYS/Cygwin 158###### MSYS/Cygwin
146 159