Skip to content

Commit

Permalink
rename the solution & the project to make more sense ; add some build…
Browse files Browse the repository at this point in the history
… instructions
  • Loading branch information
Axel 0vercl0k Souchet committed May 10, 2014
1 parent b07523f commit 27e9cc4
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 1,992 deletions.
31 changes: 31 additions & 0 deletions COMPILE_MSVC.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
How To Compile & run Capstone for Windows
*-*-*-*-*-*

Capstone requires no prerequisite packages, so it is easy to compile & install.


(0) Tailor Capstone to your need.

Out of 7 archtitectures supported by Capstone (Arm, Arm64, Mips, PPC, Sparc,
SystemZ & X86), if you just need several selected archs, choose which ones you
want to compile in directly editing the project "capstone-lib" from the Visual Studio solution "capstone-msvc.sln"
before going to next steps.

By default, all 7 architectures are compiled.

Currently, Capstone supports 4 options, as followings.

- CAPSTONE_ARCHS: specify list of architectures to compiled in.
- CAPSTONE_USE_SYS_DYN_MEM: change this if you have your own dynamic memory management.
- CAPSTONE_DIET: use this to make the output binaries more compact.
- CAPSTONE_X86_REDUCE: another option to make X86 binary smaller.

For each option, refer to docs/README for more details.

(1) Compile from source on Windows with Visual Studio

- Open the Visual Studio solution called "capstone-msvc.sln"
- Choose the configuration and the platform you want: Release/Debug and Win32/Win64
- Build only the capstone-lib project, or the library along with all the tests

(2) You can make sure the prior steps successfully worked by launching one of the testing binary
163 changes: 0 additions & 163 deletions capstone-win32-vc/capstone-test-arm/capstone-test-arm.vcxproj

This file was deleted.

163 changes: 0 additions & 163 deletions capstone-win32-vc/capstone-test-arm64/capstone-test-arm64.vcxproj

This file was deleted.

Loading

0 comments on commit 27e9cc4

Please sign in to comment.