Skip to content

Commit

Permalink
add nmake.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Mar 13, 2017
1 parent 996db1f commit f7a3cc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 2 additions & 3 deletions COMPILE_CMAKE.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
7 changes: 7 additions & 0 deletions nmake.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f7a3cc2

Please sign in to comment.