From fbfa991cae29068297582e2e04d1a2376925ec27 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 13 Mar 2017 15:06:32 +0800 Subject: [PATCH] add nmake.bat --- COMPILE_CMAKE.TXT | 5 ++--- nmake.bat | 7 +++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 nmake.bat diff --git a/COMPILE_CMAKE.TXT b/COMPILE_CMAKE.TXT index 5560fa733..57d5f5e1b 100644 --- a/COMPILE_CMAKE.TXT +++ b/COMPILE_CMAKE.TXT @@ -56,10 +56,9 @@ Get CMake for free from http://www.cmake.org. mkdir build cd build - cmake -DCMAKE_BUILD_TYPE=RELEASE -G "NMake Makefiles" .. - nmake + ..\nmake.bat - After this, find the samples test*.exe, libcapstone_static.lib & libcapstone.dll + After this, find the samples test*.exe, capstone.lib & capstone.dll in the same directory. diff --git a/nmake.bat b/nmake.bat new file mode 100644 index 000000000..7f83cdbd5 --- /dev/null +++ b/nmake.bat @@ -0,0 +1,7 @@ +:: Capstone disassembler engine (www.capstone-engine.org) +:: Build Capstone libs (capstone.dll & capstone.lib) on Windows with CMake & Nmake +:: By Nguyen Anh Quynh, 2017 + +cmake -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" .. +nmake +