diff --git a/COMPILE.TXT b/COMPILE.TXT index 28596097..dce07f70 100644 --- a/COMPILE.TXT +++ b/COMPILE.TXT @@ -1,4 +1,8 @@ -How To Compile, install & run Capstone for Linux, Mac OSX, *BSD and Windows +This documentation explains how to compile, install & run Capstone on MacOSX, +Linux, *BSD & Solaris. We also show steps to cross-compile for Microsoft Windows. + +To natively compile for Windows using Microsoft Visual Studio, see COMPILE_MSVC.TXT. + *-*-*-*-*-* Capstone requires no prerequisite packages, so it is easy to compile & install. diff --git a/COMPILE_MSVC.TXT b/COMPILE_MSVC.TXT index 4790669f..3dbebd77 100644 --- a/COMPILE_MSVC.TXT +++ b/COMPILE_MSVC.TXT @@ -1,8 +1,12 @@ -How To Compile & run Capstone for Windows +How To compile Capstone on Windows using Microsoft Visual Studio. + *-*-*-*-*-* Capstone requires no prerequisite packages, so it is easy to compile & install. -Open the Visual Studio solution msvc/capstone.sln and see the instructions below. +Open the Visual Studio solution "msvc/capstone.sln" and follow the instructions +below. + +NOTE: This requires Visual Studio 2010 or newer versions. (0) Tailor Capstone to your need. diff --git a/msvc/README b/msvc/README new file mode 100644 index 00000000..97e5524d --- /dev/null +++ b/msvc/README @@ -0,0 +1,16 @@ +This directory includes all the necessary files to compile Capstone on Windows +using Microsoft Visual Studio (VS). + + +NOTE: + +(1) Visual Studio 2010 or newer versions is required. Open "capstone.sln" to + build the libraries & test code with Visual Studio. The resulted binaries + are put under either msvc/Debug or msvc/Release, depending on how you choose + to compile them. + +(2) The solution (capstone.sln) & all project files (*.vcxproj) are made in + Visual Studio 2010, so if you open them using newer version, an extra step + is needed to convert them to current version. Just accept this when + asked at the initial dialog, and proceed to build the solution normally + afterwards.