mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 19:55:29 +00:00
77f946f2fc
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.
4 lines
199 B
Batchfile
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
|