Lines Matching +full:cmake +full:- +full:windows
1 This documentation explains how to compile Capstone with CMake, focus on
6 To compile Capstone on Windows using Visual Studio, see COMPILE_MSVC.TXT.
8 *-*-*-*-*-*
10 This documentation requires CMake & Windows SDK or MS Visual Studio installed on
13 Get CMake for free from http://www.cmake.org.
20 run "cmake" with the unwanted archs disabled (set to 0) as followings.
22 - CAPSTONE_ARM_SUPPORT: support ARM. Run cmake with -DCAPSTONE_ARM_SUPPORT=0 to remove ARM.
23 …- CAPSTONE_ARM64_SUPPORT: support ARM64. Run cmake with -DCAPSTONE_ARM64_SUPPORT=0 to remove ARM64.
24 …- CAPSTONE_M680X_SUPPORT: support M680X. Run cmake with -DCAPSTONE_M680X_SUPPORT=0 to remove M680X.
25 - CAPSTONE_M68K_SUPPORT: support M68K. Run cmake with -DCAPSTONE_M68K_SUPPORT=0 to remove M68K.
26 - CAPSTONE_MIPS_SUPPORT: support Mips. Run cmake with -DCAPSTONE_MIPS_SUPPORT=0 to remove Mips.
27 …- CAPSTONE_MOS65XX_SUPPORT: support MOS65XX. Run cmake with -DCAPSTONE_MOS65XX_SUPPORT=0 to remove…
28 - CAPSTONE_PPC_SUPPORT: support PPC. Run cmake with -DCAPSTONE_PPC_SUPPORT=0 to remove PPC.
29 …- CAPSTONE_SPARC_SUPPORT: support Sparc. Run cmake with -DCAPSTONE_SPARC_SUPPORT=0 to remove Sparc.
30 …- CAPSTONE_SYSZ_SUPPORT: support SystemZ. Run cmake with -DCAPSTONE_SYSZ_SUPPORT=0 to remove Syste…
31 …- CAPSTONE_XCORE_SUPPORT: support XCore. Run cmake with -DCAPSTONE_XCORE_SUPPORT=0 to remove XCore.
32 - CAPSTONE_X86_SUPPORT: support X86. Run cmake with -DCAPSTONE_X86_SUPPORT=0 to remove X86.
33 …- CAPSTONE_TMS320C64X_SUPPORT: support TMS320C64X. Run cmake with -DCAPSTONE_TMS320C64X_SUPPORT=0 …
34 - CAPSTONE_EVM_SUPPORT: support EVM. Run cmake with -DCAPSTONE_EVM_SUPPORT=0 to remove EVM.
35 - CAPSTONE_ARCHITECTURE_DEFAULT: Whether architectures are enabled by default.
36 … Set this of OFF with -DCAPSTONE_ARCHITECTURE_DEFAULT=OFF to disable all architectures by default.
44 - CAPSTONE_USE_SYS_DYN_MEM: change this to OFF to use your own dynamic memory management.
45 - CAPSTONE_BUILD_DIET: change this to ON to make the binaries more compact.
46 - CAPSTONE_X86_REDUCE: change this to ON to make X86 binary smaller.
47 - CAPSTONE_X86_ATT_DISABLE: change this to ON to disable AT&T syntax on x86.
51 …X86_REDUCE, run "cmake" with: -DCAPSTONE_USE_SYS_DYN_MEM=0 -DCAPSTONE_BUILD_DIET=1 -DCAPSTONE_X86_…
58 (1) CMake allows you to generate different generators to build Capstone. Below is
59 some examples on how to build Capstone on Windows with CMake.
61 (*) You can let CMake select a generator for you. Do:
65 cmake ..
67 This last command is also where you can pass additional CMake configuration flags
68 using `-D<key>=<value>`. Then to build use:
70 cmake --build . --config Release
73 (*) To build Capstone using Nmake of Windows SDK, do:
89 cmake -G "Visual Studio 12" ..
100 to either the cmake.sh or nmake.bat scripts. e.g.:
102 ../cmake.sh x86
107 (4) You can also create an installation image with cmake, by using the 'install' target.
110 cmake --build . --config Release --target install
112 This will normally install an image in a default location (`C:\Program Files` on Windows),
113 …so it's good to explicitly set this location when configuring CMake. Use: `-DCMAKE_INSTALL_PREFIX=…