diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-07 13:49:07 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-07 13:49:07 +0000 |
commit | 84f85ceac0f993be95dda89584749ea59fe5b8e7 (patch) | |
tree | 2231a79773b63436a9586f6cf1f35f1893c80793 /protocols/Tox/docs | |
parent | c56192dd999c079ebd935a6736315de3a5d60a05 (diff) |
Tox added from branch
git-svn-id: http://svn.miranda-ng.org/main/trunk@10115 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/docs')
-rw-r--r-- | protocols/Tox/docs/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/protocols/Tox/docs/README.md b/protocols/Tox/docs/README.md new file mode 100644 index 0000000000..0879158997 --- /dev/null +++ b/protocols/Tox/docs/README.md @@ -0,0 +1,18 @@ +Prerequisites
+-------------
+
+You will need PowerShell for preparing the `.def` file.
+
+### Tox-Core
+
+Download Tox DLL from [the CI server](https://jenkins.libtoxcore.so/job/toxcore_win32_dll/). Put that DLL into `dll` directory, copy the `include` files.
+
+Now you need to prepare the `.def` file for the DLL. You have to prepare the corresponding `.lib` file for the DLL. To do it, start PowerShell and enter a Visual Studio command environment. Then execute the following script:
+
+ PS> 'EXPORTS' | Out-File .\libtox.def -Encoding ascii; dumpbin.exe /exports .\libtox.dll | % { ($_ -split '\s+')[4] } | Out-File .\libtox.def -Append -Encoding ascii
+
+It prepares the `def` file for the next step - the `lib` tool:
+
+ PS> lib /def:libtox.def /out:libtox.lib /machine:x86
+
+You'll get the `libtox.lib` import library in the current directory. Copy it to `lib` project directory and you're ready!
|