add nmake.bat

This commit is contained in:
Nguyen Anh Quynh 2017-03-13 15:06:32 +08:00
parent 996db1f1a1
commit f7a3cc2596
2 changed files with 9 additions and 3 deletions

View File

@ -57,10 +57,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.

7
nmake.bat Normal file
View File

@ -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