unicorn-engine / unicorn

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
http://www.unicorn-engine.org
GNU General Public License v2.0
7.47k stars 1.33k forks source link

installation project missing on MSVC? #1992

Open AlexanderBarnt opened 2 weeks ago

AlexanderBarnt commented 2 weeks ago

I was able to compile Unicorn 2.0.1.post1 using CMAKE with MSVC on Windows but I could not find any way to install it, looks like there is no "INSTALL" project in the solution: devenv-nnlfg-Dj6u9

I did enable the installation option in CMAKE: cmake-gui-p-Mxp7-YI1t3

or maybe am i missing something?

wtdcode commented 2 weeks ago

Unfortunately, I don't see reasonable ways to "install" a package on Windows natively so UNICORN_INSTALL only applies on *nix systems. However, vcpkg is known to work this out and you may have a try.

AlexanderBarnt commented 2 weeks ago

its suppose that the latest Visual studio comes with vcpkg integrated, sorry for asking this but I am not used to it, can I use it? I just want the compiled files, headers, etc from my build. I went to the download page and I tried to download the "Windows core engine" but both 32 and 64 links say "not found".

edit: any posibility to just add a INSTALL project in the solution like in most of the projects? that would save a lot of time from people.

wtdcode commented 1 week ago

its suppose that the latest Visual studio comes with vcpkg integrated, sorry for asking this but I am not used to it, can I use it? I just want the compiled files, headers, etc from my build. I went to the download page and I tried to download the "Windows core engine" but both 32 and 64 links say "not found".

edit: any posibility to just add a INSTALL project in the solution like in most of the projects? that would save a lot of time from people.

Does INSTALL really works on Windows? I think I need to read more docs about cmake.