unicorn/bindings/msvc/make_staload.bat
xorstream 77f946f2fc Added MSVC++ support for unicorn
This lets you import the pre-built unicorn.dll files with Microsoft
Visual C++ projects.

There is support for static and dynamic linking of dlls. This has been
tested as working for both 32bit and 64bit versions.

The dynamic linking code should also work in Linux, though I have not
tested it.
2015-12-04 22:09:24 +11:00

4 lines
199 B
Batchfile

call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
lib /DEF:unicorn.def /OUT:unicorn_staload.lib /MACHINE:X86
lib /DEF:unicorn.def /OUT:unicorn_staload64.lib /MACHINE:X64