add nmake.bat
diff --git a/COMPILE_CMAKE.TXT b/COMPILE_CMAKE.TXT
index d366efd..1145cdc 100644
--- a/COMPILE_CMAKE.TXT
+++ b/COMPILE_CMAKE.TXT
@@ -57,10 +57,9 @@
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 0000000..7f83cdb
--- /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
+