Nguyen Anh Quynh | c62fe10 | 2017-05-09 22:58:23 +0800 | [diff] [blame] | 1 | :: Capstone disassembler engine (www.capstone-engine.org) |
Nguyen Anh Quynh | 2266e67 | 2017-05-21 21:33:47 -0700 | [diff] [blame] | 2 | :: Build Capstone libs for X86 only (capstone.dll & capstone.lib) on Windows with CMake & Nmake |
Nguyen Anh Quynh | c62fe10 | 2017-05-09 22:58:23 +0800 | [diff] [blame] | 3 | :: By Nguyen Anh Quynh, 2017 |
| 4 | |
Nguyen Anh Quynh | 2266e67 | 2017-05-21 21:33:47 -0700 | [diff] [blame] | 5 | :: cmake -DCMAKE_BUILD_TYPE=Release -DCAPSTONE_BUILD_DIET=ON -DCAPSTONE_ARM_SUPPORT=0 -DCAPSTONE_ARM64_SUPPORT=0 -DCAPSTONE_M68K_SUPPORT=0 -DCAPSTONE_MIPS_SUPPORT=0 -DCAPSTONE_PPC_SUPPORT=0 -DCAPSTONE_SPARC_SUPPORT=0 -DCAPSTONE_SYSZ_SUPPORT=0 -DCAPSTONE_XCORE_SUPPORT=0 -DCAPSTONE_TMS320C64X_SUPPORT=0 -DCAPSTONE_BUILD_STATIC_RUNTIME=OFF -G "NMake Makefiles" .. |
| 6 | |
| 7 | cmake -DCMAKE_BUILD_TYPE=Release -DCAPSTONE_ARM_SUPPORT=0 -DCAPSTONE_ARM64_SUPPORT=0 -DCAPSTONE_M68K_SUPPORT=0 -DCAPSTONE_MIPS_SUPPORT=0 -DCAPSTONE_PPC_SUPPORT=0 -DCAPSTONE_SPARC_SUPPORT=0 -DCAPSTONE_SYSZ_SUPPORT=0 -DCAPSTONE_XCORE_SUPPORT=0 -DCAPSTONE_TMS320C64X_SUPPORT=0 -DCAPSTONE_BUILD_STATIC_RUNTIME=OFF -G "NMake Makefiles" .. |
| 8 | |
Nguyen Anh Quynh | c62fe10 | 2017-05-09 22:58:23 +0800 | [diff] [blame] | 9 | nmake |
| 10 | |