diff --git a/COMPILE_CMAKE.TXT b/COMPILE_CMAKE.TXT index d366efdf..1145cdcb 100644 --- a/COMPILE_CMAKE.TXT +++ b/COMPILE_CMAKE.TXT @@ -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. diff --git a/nmake.bat b/nmake.bat new file mode 100644 index 00000000..7f83cdbd --- /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 +