From fc2363257b2596a63555689c92de5cf5289bfac0 Mon Sep 17 00:00:00 2001 From: c0rejump <58550458+c0rejump@users.noreply.github.com> Date: Sat, 4 Jan 2020 16:43:06 +0100 Subject: [PATCH] Update COMPILE_CMAKE.TXT file (#1580) Correct supported archs description - fix TMS320C64X and EVM lines. Additionally remove some tariling spaces. --- COMPILE_CMAKE.TXT | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/COMPILE_CMAKE.TXT b/COMPILE_CMAKE.TXT index f17a0672..e89d0d83 100644 --- a/COMPILE_CMAKE.TXT +++ b/COMPILE_CMAKE.TXT @@ -30,9 +30,8 @@ Get CMake for free from http://www.cmake.org. - CAPSTONE_SYSZ_SUPPORT: support SystemZ. Run cmake with -DCAPSTONE_SYSZ_SUPPORT=0 to remove SystemZ. - CAPSTONE_XCORE_SUPPORT: support XCore. Run cmake with -DCAPSTONE_XCORE_SUPPORT=0 to remove XCore. - CAPSTONE_X86_SUPPORT: support X86. Run cmake with -DCAPSTONE_X86_SUPPORT=0 to remove X86. - - CAPSTONE_X86_TMS320C64X: support TMS320C64X. Run cmake with -DCAPSTONE_TMS320C64X_SUPPORT=0 to remove TMS320C64X. - - CAPSTONE_X86_M680X: support M680X. Run cmake with -DCAPSTONE_M680X_SUPPORT=0 to remove M680X. - - CAPSTONE_X86_EVM: support EVM. Run cmake with -DCAPSTONE_EVM_SUPPORT=0 to remove EVM. + - CAPSTONE_TMS320C64X_SUPPORT: support TMS320C64X. Run cmake with -DCAPSTONE_TMS320C64X_SUPPORT=0 to remove TMS320C64X. + - CAPSTONE_EVM_SUPPORT: support EVM. Run cmake with -DCAPSTONE_EVM_SUPPORT=0 to remove EVM. - CAPSTONE_ARCHITECUTRE_DEFAULT: Whether architectures are enabled by default. Set this of OFF with -DCAPSTONE_ARCHITECUTRE_DEFAULT=OFF to dissable all architectures by default. You can then enable them again with one of the CAPSTONE__SUPPORT options. @@ -60,16 +59,16 @@ Get CMake for free from http://www.cmake.org. some examples on how to build Capstone on Windows with CMake. (*) You can let CMake select a generator for you. Do: - + mkdir build cd build cmake .. - + This last command is also where you can pass additional CMake configuration flags using `-D=`. Then to build use: - + cmake --build . --config Release - + (*) To build Capstone using Nmake of Windows SDK, do: @@ -99,12 +98,12 @@ Get CMake for free from http://www.cmake.org. (3) You can also enable just one specific architecture by passing the architecture name to either the cmake.sh or nmake.bat scripts. e.g.: - + ../cmake.sh x86 Will just target the x86 architecture. The list of available architectures is: ARM, ARM64, M68K, MIPS, PowerPC, Sparc, SystemZ, XCore, x86, TMS320C64x, M680x, EVM, MOS65XX. - + (4) You can also create an installation image with cmake, by using the 'install' target. Use: