From d831fd6a4b9060841943b1335b7017c0c8671a08 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 3 Feb 2019 14:38:51 +0800 Subject: [PATCH] add cmake.sh --- cmake.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 cmake.sh diff --git a/cmake.sh b/cmake.sh new file mode 100755 index 000000000..c86daa4ec --- /dev/null +++ b/cmake.sh @@ -0,0 +1,10 @@ +# Capstone disassembler engine (www.capstone-engine.org) +# Build Capstone libs (libcapstone.so & libcapstone.a) on *nix with CMake & make +# By Nguyen Anh Quynh, 2019 + +# Uncomment below line to compile in Diet mode +# cmake -DCMAKE_BUILD_TYPE=Release -DCAPSTONE_BUILD_DIET=ON .. + +cmake -DCMAKE_BUILD_TYPE=Release .. + +make -j8