Nguyen Anh Quynh | 61882e5 | 2014-05-18 00:39:49 +0800 | [diff] [blame] | 1 | This directory includes all the necessary files to compile Capstone on Windows |
| 2 | using Microsoft Visual Studio (VS). |
| 3 | |
| 4 | |
| 5 | NOTE: |
| 6 | |
| 7 | (1) Visual Studio 2010 or newer versions is required. Open "capstone.sln" to |
| 8 | build the libraries & test code with Visual Studio. The resulted binaries |
tandasat | 45e5eab | 2016-05-11 21:48:32 -0700 | [diff] [blame] | 9 | are put under either msvc/Debug, msvc/Release, msvc/x64/Debug, or |
| 10 | msvc/x64/Release, depending on how you choose to compile them. |
Nguyen Anh Quynh | 61882e5 | 2014-05-18 00:39:49 +0800 | [diff] [blame] | 11 | |
| 12 | (2) The solution (capstone.sln) & all project files (*.vcxproj) are made in |
| 13 | Visual Studio 2010, so if you open them using newer version, an extra step |
tandasat | 45e5eab | 2016-05-11 21:48:32 -0700 | [diff] [blame] | 14 | is needed to convert them to current version. Just accept this when |
| 15 | asked at the initial dialog, and proceed to build the solution normally |
| 16 | afterwards. |
| 17 | |
| 18 | (3) The capstone_static_winkernel and test_winkernel projects are for Windows |
| 19 | kernel drivers and excluded from build by default. In order to build them, |
| 20 | you need to install Visual Studio 2013 or newer versions, and Windows Driver |
| 21 | Kit 8.1 Update 1 or newer versions, then check "Build" check boxes for those |
| 22 | projects on the Configuration Manager through the [Build] menu. |