Nguyen Anh Quynh | 9ede5c1 | 2019-02-01 13:43:18 +0800 | [diff] [blame] | 1 | # Capstone disassembler engine (www.capstone-engine.org) |
| 2 | # Build Capstone libs for X86 only (libcapstone.so & libcapstone.a) on *nix with CMake & make |
| 3 | # By Nguyen Anh Quynh, 2019 |
| 4 | |
| 5 | # Uncomment below line to compile in Diet mode |
Nguyen Anh Quynh | 5cec47a | 2019-02-01 13:50:18 +0800 | [diff] [blame] | 6 | # cmake -DCMAKE_BUILD_TYPE=Release -DCAPSTONE_BUILD_DIET=ON -DCAPSTONE_X86_ONLY=1 .. |
Nguyen Anh Quynh | 9ede5c1 | 2019-02-01 13:43:18 +0800 | [diff] [blame] | 7 | |
| 8 | cmake -DCMAKE_BUILD_TYPE=Release -DCAPSTONE_X86_ONLY=1 .. |
| 9 | |
| 10 | make -j8 |